From: Martin Q. <mqu...@us...> - 2007-10-11 14:47:19
|
Update of /cvsroot/flexml/flexml In directory sc8-pr-cvs17:/tmp/cvs-serv1149 Modified Files: flexml-act-bootstrap.c Log Message: Do not load unistd on windows since it does not exist there Index: flexml-act-bootstrap.c =================================================================== RCS file: /cvsroot/flexml/flexml/flexml-act-bootstrap.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- flexml-act-bootstrap.c 24 Aug 2006 20:21:59 -0000 1.9 +++ flexml-act-bootstrap.c 11 Oct 2007 14:47:21 -0000 1.10 @@ -21,7 +21,16 @@ #include <stdlib.h> #include <stdio.h> -#include <unistd.h> + +#if defined(_WIN32) || defined(__WIN32__) || defined(WIN32) || defined(__TOS_WIN__) +# ifndef __STRICT_ANSI__ +# include <io.h> +# include <process.h> +# endif +#else +# include <unistd.h> +#endif + #include "flexml-act.h" extern char *bufferstack; |