summaryrefslogtreecommitdiff
path: root/compat/win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'compat/win32.h')
-rw-r--r--compat/win32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/win32.h b/compat/win32.h
index 8ce91048de..a97e880757 100644
--- a/compat/win32.h
+++ b/compat/win32.h
@@ -2,7 +2,7 @@
#define WIN32_H
/* common Win32 functions for MinGW and Cygwin */
-#ifndef WIN32 /* Not defined by Cygwin */
+#ifndef GIT_WINDOWS_NATIVE /* Not defined for Cygwin */
#include <windows.h>
#endif