Index: configure.ac ================================================================== --- configure.ac +++ configure.ac @@ -184,11 +184,11 @@ AC_MSG_CHECKING(whether we need -D_GNU_SOURCE) AC_EGREP_CPP(yes, [ #include - #ifdef __GLIBC__ + #if defined(__GLIBC__) || defined(__MINGW32__) yes #endif ], [ CPPFLAGS="-D_GNU_SOURCE $CPPFLAGS" AC_MSG_RESULT(yes) Index: src/OFSettings_INIFile.m ================================================================== --- src/OFSettings_INIFile.m +++ src/OFSettings_INIFile.m @@ -16,10 +16,11 @@ #include "config.h" #import "OFSettings_INIFile.h" #import "OFString.h" +#import "OFArray.h" #import "OFINIFile.h" #import "OFSystemInfo.h" @implementation OFSettings_INIFile - initWithApplicationName: (OFString*)applicationName Index: src/OFStream.h ================================================================== --- src/OFStream.h +++ src/OFStream.h @@ -89,11 +89,13 @@ #ifndef OF_SEEKABLE_STREAM_M @private #endif char *_readBuffer, *_writeBuffer; size_t _readBufferLength, _writeBufferLength; - bool _writeBufferEnabled, _blocking, _waitingForDelimiter; + bool _writeBufferEnabled, _waitingForDelimiter; +@protected + bool _blocking; } #ifdef OF_HAVE_PROPERTIES @property (getter=isWriteBufferEnabled) bool writeBufferEnabled; @property (getter=isBlocking) bool blocking; Index: utils/OFZIP.m ================================================================== --- utils/OFZIP.m +++ utils/OFZIP.m @@ -33,10 +33,17 @@ #import "autorelease.h" #import "macros.h" #define BUFFER_SIZE 4096 + +#ifndef S_IRWXG +# define S_IRWXG 0 +#endif +#ifndef S_IRWXO +# define S_IRWXO 0 +#endif @interface OFZIP: OFObject { int_fast8_t _override, _outputLevel; int _exitStatus;