commit 07e49ff0bcb1c9c6ea5c74c203b6bcbf87a6e71d
parent f3ff0a70311fb7eda8a01747c40112f086dc3d2f
Author: LRN <lrn1986@gmail.com>
Date: Sun, 21 Apr 2013 11:27:36 +0000
Put FTRUNCATE_DEFINED into CPPFLAGS, not CFLAGS
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
@@ -107,7 +107,8 @@ mingw*)
AC_DEFINE_UNQUOTED(WINDOWS,1,[This is a Windows system])
AC_CHECK_LIB(intl, gettext)
# Sufficiently new Windows XP
- CFLAGS="-D__MSVCRT_VERSION__=0x0601 -DFTRUNCATE_DEFINED=1 $CFLAGS"
+ CFLAGS="-D__MSVCRT_VERSION__=0x0601 $CFLAGS"
+ CPPFLAGS="-DFTRUNCATE_DEFINED=1 $CPPFLAGS"
AC_MSG_CHECKING(for PlibC)
plibc=0