diff options
author | Rosen Penev <rosenp@gmail.com> | 2017-02-08 19:42:42 -0800 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2017-02-09 20:02:18 +1100 |
commit | c669249e4c3b23e3a3bb41223035cc41a0e75508 (patch) | |
tree | c4061c97517e304d2da0cd17eb47a3f3a9f422e2 /src/libFLAC/stream_encoder.c | |
parent | d2cb0d1eb2f713d7f3ff83da9869be7bddba909c (diff) | |
download | flac-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 'src/libFLAC/stream_encoder.c')
-rw-r--r-- | src/libFLAC/stream_encoder.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libFLAC/stream_encoder.c b/src/libFLAC/stream_encoder.c index 1993ec5e..665fe55b 100644 --- a/src/libFLAC/stream_encoder.c +++ b/src/libFLAC/stream_encoder.c @@ -4540,9 +4540,6 @@ FILE *get_binary_stdout_(void) */ #if defined _MSC_VER || defined __MINGW32__ _setmode(_fileno(stdout), _O_BINARY); -#elif defined __CYGWIN__ - /* almost certainly not needed for any modern Cygwin, but let's be safe... */ - setmode(_fileno(stdout), _O_BINARY); #elif defined __EMX__ setmode(fileno(stdout), O_BINARY); #endif |