summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--getopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/getopt.c b/getopt.c
index f622fc3..231e5ee 100644
--- a/getopt.c
+++ b/getopt.c
@@ -79,7 +79,7 @@
#endif
#endif
-#if defined (WIN32) && !defined (__CYGWIN32__)
+#if defined (_WINDOWS32) && !defined (__CYGWIN32__)
/* It's not Unix, really. See? Capital letters. */
#include <windows.h>
#define getpid() GetCurrentProcessId()