aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2004-12-06 14:43:04 +0000
committerGisle Vanem <gvanem@broadpark.no>2004-12-06 14:43:04 +0000
commitfe5979cfdba009b356bdffafcb9b46ad0570abf1 (patch)
tree430792a19620cdedf2a119a6b7fe1866e8987716
parenta1f7987ad8b9941dd50ce5cb6ca966ca221d3bd5 (diff)
Replace MINGW32 with built-in __MINGW32__.
-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