summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib-src/getopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-src/getopt.c b/lib-src/getopt.c
index f622fc375ee..231e5ee6849 100644
--- a/lib-src/getopt.c
+++ b/lib-src/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()