autotools : define _WIN32 when compiling on Windows
Alex
cerebro.alexiel at gmail.com
Sun Feb 28 23:58:00 CST 2010
---
configure.ac | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
index f7cf4b9..0796200 100644
--- a/configure.ac
+++ b/configure.ac
@@ -165,6 +165,7 @@ case $host in
;;
*-mingw32*|*-cygwin*)
enable_win16=${enable_win16:-no}
+ CFLAGS="$CFLAGS -D_WIN32"
;;
i[[3456789]]86*)
enable_win16=${enable_win16:-yes}
--
1.6.3.3
More information about the wine-patches
mailing list