From fe5979cfdba009b356bdffafcb9b46ad0570abf1 Mon Sep 17 00:00:00 2001 From: Gisle Vanem Date: Mon, 6 Dec 2004 14:43:04 +0000 Subject: [PATCH] Replace MINGW32 with built-in __MINGW32__. --- lib/config-win32.h | 4 ++-- lib/config-win32ce.h | 4 ++-- src/config-win32.h | 2 +- 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 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 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 header file. */ #define HAVE_UNISTD_H 1