From: Gisle Vanem Date: Mon, 6 Dec 2004 14:43:04 +0000 (+0000) Subject: Replace MINGW32 with built-in __MINGW32__. X-Git-Tag: curl-7_12_3~105 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe5979cfdba009b356bdffafcb9b46ad0570abf1;p=thirdparty%2Fcurl.git Replace MINGW32 with built-in __MINGW32__. --- diff --git a/lib/config-win32.h b/lib/config-win32.h index 820e9b5b90..96b0e18fa7 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 e15b28a711..84c5eb8f68 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 b9c4070600..a7c0d16829 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