From 34c2e0623a1a5606e400f80a826e05a28ffe522e Mon Sep 17 00:00:00 2001 From: Yann Dirson Date: Tue, 4 Feb 2014 22:25:49 +0100 Subject: [PATCH] Drop -ansi from gcc extra flags. We don't care that much about it, and for some reason it causes the mingw compiler to not define any WIN32 macro. --- configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index e852a73..5d94b89 100644 --- a/configure.ac +++ b/configure.ac @@ -59,7 +59,7 @@ AC_CHECK_LIB([termcap], [tgoto]) if [[ $ac_cv_c_compiler_gnu = yes ]] then -WARNINGS="-Wall -Wno-implicit-int -Wstrict-prototypes -ansi" +WARNINGS="-Wall -Wno-implicit-int -Wstrict-prototypes" CEXTRAFLAGS="-fsigned-char -funroll-loops" else # Who knows what warnings your compiler uses? -- 1.7.0.4