aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/config-win32.h4
-rw-r--r--lib/config-win32ce.h4
-rw-r--r--src/config-win32.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/lib/config-win32.h b/lib/config-win32.h
index 820e9b5b9..96b0e18fa 100644
--- a/lib/config-win32.h
+++ b/lib/config-win32.h
@@ -107,7 +107,7 @@
#define HAVE_STRSTR 1
/* Define if you have the strtoll function. */
-#ifdef MINGW32
+#ifdef __MINGW32__
#define HAVE_STRTOLL 1
#endif
@@ -236,7 +236,7 @@
* This section is for compiler specific defines.*
*************************************************/
/* Borland and MS don't have this */
-#if defined(MINGW32) || defined(__WATCOMC__) || defined(__LCC__)
+#if defined(__MINGW32__) || defined(__WATCOMC__) || defined(__LCC__)
/* Define if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
diff --git a/lib/config-win32ce.h b/lib/config-win32ce.h
index e15b28a71..84c5eb8f6 100644
--- a/lib/config-win32ce.h
+++ b/lib/config-win32ce.h
@@ -103,7 +103,7 @@
#define HAVE_STRSTR 1
/* Define if you have the strtoll function. */
-#ifdef MINGW32
+#ifdef __MINGW32__
#define HAVE_STRTOLL 1
#endif
@@ -228,7 +228,7 @@
* This section is for compiler specific defines.*
*************************************************/
/* Borland and MS don't have this */
-#if defined(MINGW32) || defined(__WATCOMC__) || defined(__LCC__)
+#if defined(__MINGW32__) || defined(__WATCOMC__) || defined(__LCC__)
/* Define if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
diff --git a/src/config-win32.h b/src/config-win32.h
index b9c407060..a7c0d1682 100644
--- a/src/config-win32.h
+++ b/src/config-win32.h
@@ -38,7 +38,7 @@
* This section is for compiler specific defines.*
*************************************************/
/* Borland and MS don't have this */
-#if defined(MINGW32) || defined(__WATCOMC__) || defined(__LCC__)
+#if defined(__MINGW32__) || defined(__WATCOMC__) || defined(__LCC__)
/* Define if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1