]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Cygwin: FOPEN may be defined
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 12 Nov 2014 12:15:31 +0000 (04:15 -0800)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 12 Nov 2014 12:15:31 +0000 (04:15 -0800)
compat/os/mswindows.h

index 3b8f3f7cef4c148242836cb217b08136f2d41292..e80fd6a124f5566ac23f6354502b2454c95f1225 100644 (file)
@@ -414,7 +414,9 @@ typedef struct {
 #define _pioinfo(i) ( __pioinfo[(i) >> IOINFO_L2E] + ((i) & (IOINFO_ARRAY_ELTS - 1)) )
 #define _osfile(i)  ( _pioinfo(i)->osfile )
 #define _osfhnd(i)  ( _pioinfo(i)->osfhnd )
+#if !defined(FOPEN)
 #define FOPEN           0x01    /* file handle open */
+#endif
 
 #if defined(_MSC_VER)
 SQUIDCEXTERN _CRTIMP ioinfo * __pioinfo[];