summaryrefslogtreecommitdiff
path: root/configure.ac
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 /configure.ac
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 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c5b63370..9a1570c0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -185,7 +185,7 @@ AM_CONDITIONAL(FLaC__CPU_PPC_SPE, test "x$abi_spe" = xtrue)
os_is_windows=no
case "$host" in
- *-*-cygwin|*mingw*)
+ *mingw*)
CPPFLAGS="-D__MSVCRT_VERSION__=0x0601 $CPPFLAGS"
os_is_windows=yes
;;