]> granicus.if.org Git - graphviz/commitdiff
Fix sfio to build on Windows.
authorerg <devnull@localhost>
Fri, 4 May 2007 18:38:09 +0000 (18:38 +0000)
committererg <devnull@localhost>
Fri, 4 May 2007 18:38:09 +0000 (18:38 +0000)
lib/sfio/Sfio_f/Makefile.am
lib/sfio/sfexit.c

index 1d1064f0073da93e4085743644b1a3ec6424ec7b..69cdd454f20d4cea99739792388ec5970e8f4b50 100644 (file)
@@ -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 \
index b0164804bdd1d75d087351b830d4f842cb0e6cbc..5e2ad0309e765b0a4f7ca5a4dc627f9e59079e55 100644 (file)
@@ -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