diff --git a/lib/config-win32.h b/lib/config-win32.h index 820e9b5b90d94173a6511d9cff28da6de55b1063..96b0e18fa74035d5757820a7e762d96ba5b53cc8 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 e15b28a7118e97d10ecd3af43ac1d305885afe85..84c5eb8f6864f26488a03ee88968e8fdba386429 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 b9c407060066e3f9f7a541657e301b9f6670202f..a7c0d16829fe4e31a2353aa5c9edc57b8d5e919f 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