configure: Define _WIN32 when compiling on Windows.
This commit is contained in:
parent
2b05c84016
commit
ac0a38cf57
|
@ -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
|
||||||
;;
|
;;
|
||||||
*-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}
|
||||||
|
|
Loading…
Reference in New Issue