]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Windows: update several __MINGW32__ to generic _SQUID_MINGW_
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 8 Oct 2012 05:28:02 +0000 (23:28 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 8 Oct 2012 05:28:02 +0000 (23:28 -0600)
compat/mswin.cc
compat/os/mswin.h

index 03fa66ec2d15a014eecb001ebf851e576fcdef90..a731792e042ea6b4e8f875dde9f5ab6e7db264aa 100644 (file)
@@ -296,7 +296,7 @@ getgrnam(char *unused) {
     return &grp;
 }
 
-#if defined(__MINGW32__)       /* MinGW environment */
+#if _SQUID_MINGW_
 int
 _free_osfhnd(int filehandle)
 {
index b4748beeec199e90088fb4fea17ac21ddad9a427..2ab93405ae56cd2f32cdebac969e980effcca22a 100644 (file)
@@ -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);