include/share/compat.h : Include cleanup.

Patch from Janne Hyvärinen <cse@sci.fi>.
This commit is contained in:
Erik de Castro Lopo
2013-04-07 18:41:14 +10:00
parent 71e36c2e9d
commit d35b21e7b9

View File

@@ -93,13 +93,9 @@
#define FLAC__STRNCASECMP strncasecmp #define FLAC__STRNCASECMP strncasecmp
#endif #endif
#if defined _MSC_VER || defined __MINGW32__ #if defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__ || defined __EMX__
#include <io.h> /* for _setmode(), chmod() */ #include <io.h> /* for _setmode(), chmod() */
#include <fcntl.h> /* for _O_BINARY */ #include <fcntl.h> /* for _O_BINARY */
#endif
#if defined __CYGWIN__ || defined __EMX__
#include <io.h> /* for setmode(), chmod() */
#include <fcntl.h> /* for _O_BINARY */
#else #else
#include <unistd.h> /* for chown(), unlink() */ #include <unistd.h> /* for chown(), unlink() */
#endif #endif