Commit ac0a38cf authored by Alexandre Goujon's avatar Alexandre Goujon Committed by Alexandre Julliard

configure: Define _WIN32 when compiling on Windows.

parent 2b05c840
...@@ -4104,6 +4104,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ...@@ -4104,6 +4104,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
;; ;;
*-mingw32*|*-cygwin*) *-mingw32*|*-cygwin*)
enable_win16=${enable_win16:-no} enable_win16=${enable_win16:-no}
CFLAGS="$CFLAGS -D_WIN32"
;; ;;
i[3456789]86*) i[3456789]86*)
enable_win16=${enable_win16:-yes} enable_win16=${enable_win16:-yes}
......
...@@ -165,6 +165,7 @@ case $host in ...@@ -165,6 +165,7 @@ case $host in
;; ;;
*-mingw32*|*-cygwin*) *-mingw32*|*-cygwin*)
enable_win16=${enable_win16:-no} enable_win16=${enable_win16:-no}
CFLAGS="$CFLAGS -D_WIN32"
;; ;;
i[[3456789]]86*) i[[3456789]]86*)
enable_win16=${enable_win16:-yes} enable_win16=${enable_win16:-yes}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment