]> granicus.if.org Git - graphviz/commitdiff
minor preprocessor changes for MinGW
authorglenlow <devnull@localhost>
Fri, 22 Feb 2008 14:21:42 +0000 (14:21 +0000)
committerglenlow <devnull@localhost>
Fri, 22 Feb 2008 14:21:42 +0000 (14:21 +0000)
contrib/diffimg/diffimg.c

index 9e5e99153b7e1c62ac7e5303ffbf094d7a85cad4..69bd87fc49fc989eee1bdc9446ad42791de1f9f2 100644 (file)
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>
+#ifdef WIN32
+#define EX_USAGE               64
+#define EX_DATAERR             65
+#define EX_NOINPUT             66
+#define EX_UNAVAILABLE 69
+#else
 #include <sysexits.h>
+#endif
 #include <gd.h>
 #if defined HAVE_STDBOOL_H && ! defined __cplusplus
 #include <stdbool.h>