configure: Define _WIN32 when compiling on Windows.

This commit is contained in:
Alexandre Goujon 2010-03-01 21:39:40 +01:00 committed by Alexandre Julliard
parent 2b05c84016
commit ac0a38cf57
2 changed files with 2 additions and 0 deletions

1
configure vendored
View File

@ -4104,6 +4104,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
;;
*-mingw32*|*-cygwin*)
enable_win16=${enable_win16:-no}
CFLAGS="$CFLAGS -D_WIN32"
;;
i[3456789]86*)
enable_win16=${enable_win16:-yes}

View File

@ -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}