changeset 1441:039bd84a6c33

Make cygwin define WIN32 for compatibility with mingw and visualc, ...
author atmos4
date Sun, 05 Aug 2001 12:39:34 +0000
parents bd6ea9bd3f80
children 50dc44570cd4
files configure
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sat Aug 04 13:53:26 2001 +0000
+++ b/configure	Sun Aug 05 12:39:34 2001 +0000
@@ -284,10 +284,12 @@
 
 # Determine OS dependent libs
 _confcygwin="TARGET_CYGWIN=no"
+_confwin32=
 if [ "$system_name" = "FreeBSD" ]; then
     _archlibs="-rdynamic -pthread"
 elif [ `echo $system_name | sed 's/CYGWIN.*/CYGWIN/i'` = "CYGWIN" ]; then
     _confcygwin="TARGET_CYGWIN=yes"
+    _confwin32="#define WIN32"
     _archlibs="-lpthread"
 else
     _archlibs="-ldl -lpthread"
@@ -1936,6 +1938,8 @@
 
 $_arch
 
+$_confwin32
+
 /* Define this to any prefered value from 386 up to infinity with step 100 */
 #define __CPU__ $iproc