From: Amos Jeffries Date: Mon, 8 Oct 2012 05:28:02 +0000 (-0600) Subject: Windows: update several __MINGW32__ to generic _SQUID_MINGW_ X-Git-Tag: SQUID_3_4_0_1~604 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d305c51d65de72de87039c102b1369cf12eb55d0;p=thirdparty%2Fsquid.git Windows: update several __MINGW32__ to generic _SQUID_MINGW_ --- diff --git a/compat/mswin.cc b/compat/mswin.cc index 03fa66ec2d..a731792e04 100644 --- a/compat/mswin.cc +++ b/compat/mswin.cc @@ -296,7 +296,7 @@ getgrnam(char *unused) { return &grp; } -#if defined(__MINGW32__) /* MinGW environment */ +#if _SQUID_MINGW_ int _free_osfhnd(int filehandle) { diff --git a/compat/os/mswin.h b/compat/os/mswin.h index b4748beeec..2ab93405ae 100644 --- a/compat/os/mswin.h +++ b/compat/os/mswin.h @@ -340,7 +340,7 @@ typedef struct { SQUIDCEXTERN _CRTIMP ioinfo * __pioinfo[]; SQUIDCEXTERN int __cdecl _free_osfhnd(int); -#elif defined(__MINGW32__) /* MinGW environment */ +#elif _SQUID_MINGW_ /* MinGW environment */ __MINGW_IMPORT ioinfo * __pioinfo[]; SQUIDCEXTERN int _free_osfhnd(int);