summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2017-02-08 19:42:42 -0800
committerErik de Castro Lopo <erikd@mega-nerd.com>2017-02-09 20:02:18 +1100
commitc669249e4c3b23e3a3bb41223035cc41a0e75508 (patch)
treec4061c97517e304d2da0cd17eb47a3f3a9f422e2 /include
parentd2cb0d1eb2f713d7f3ff83da9869be7bddba909c (diff)
downloadflac-c669249e4c3b23e3a3bb41223035cc41a0e75508.tar.gz
Fix compile with cygwin
The underscores are wrong. The comment is also correct. Also remove the configure.ac option. Otherwise it tries to compile the windows unicode stuff which POSIX(cygwin) does not understand. Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
Diffstat (limited to 'include')
-rw-r--r--include/share/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/share/compat.h b/include/share/compat.h
index f74a5c1f..2ad40fb9 100644
--- a/include/share/compat.h
+++ b/include/share/compat.h
@@ -98,7 +98,7 @@
#define FLAC__STRNCASECMP strncasecmp
#endif
-#if defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__ || defined __EMX__
+#if defined _MSC_VER || defined __MINGW32__ || defined __EMX__
#include <io.h> /* for _setmode(), chmod() */
#include <fcntl.h> /* for _O_BINARY */
#else