Update spp again for windows this time

This commit is contained in:
pancake 2017-10-09 10:53:52 +02:00
parent c2d1392af2
commit c71c1402a7
2 changed files with 2 additions and 4 deletions

View File

@ -127,9 +127,7 @@ static TAG_CALLBACK(spp_sub) {
static TAG_CALLBACK(spp_trace) {
#if HAVE_FORK
char b[1024];
if (!state->echo[state->ifl]) {
return 0;
}
if (!state->echo[state->ifl]) return 0;
snprintf(b, 1023, "echo '%s' >&2 ", buf);
system(b);
#endif

View File

@ -29,7 +29,7 @@ extern int echo[MAXIFL];
extern int lineno;
#ifndef DLL_LOCAL
#ifdef _MSC_VER
#ifdef MSC_VER
#define DLL_LOCAL
#else
#define DLL_LOCAL __attribute__ ((visibility ("hidden")))