From: erg Date: Fri, 4 May 2007 18:38:09 +0000 (+0000) Subject: Fix sfio to build on Windows. X-Git-Tag: LAST_LIBGRAPH~32^2~5587 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=370e40eb0be323e72992a5bf76e6da562064e6eb;p=graphviz Fix sfio to build on Windows. --- diff --git a/lib/sfio/Sfio_f/Makefile.am b/lib/sfio/Sfio_f/Makefile.am index 1d1064f00..69cdd454f 100644 --- a/lib/sfio/Sfio_f/Makefile.am +++ b/lib/sfio/Sfio_f/Makefile.am @@ -3,6 +3,8 @@ AM_CPPFLAGS = -I$(top_srcdir)/lib/sfio +AM_CFLAGS = -Dvt_threaded=0 + noinst_LTLIBRARIES = libsfiof_C.la libsfiof_C_la_SOURCES = _sfclrerr.c _sfdlen.c _sfeof.c _sferror.c \ diff --git a/lib/sfio/sfexit.c b/lib/sfio/sfexit.c index b0164804b..5e2ad0309 100644 --- a/lib/sfio/sfexit.c +++ b/lib/sfio/sfexit.c @@ -126,6 +126,7 @@ typedef struct _wait_ { static Waitpid_t *Wait; +#ifndef WIN32 #if __STD_C waitpid(int pid, int *status, int options) #else @@ -187,3 +188,4 @@ int options; #endif /*_lib_waitpid*/ #endif /*!PACKAGE_ast */ +#endif