# HG changeset patch # User atmos4 # Date 997015174 0 # Node ID 039bd84a6c33670b975403ff3ac83b0334dae04b # Parent bd6ea9bd3f80095d022567b580d2e1eee8ff8a10 Make cygwin define WIN32 for compatibility with mingw and visualc, ... diff -r bd6ea9bd3f80 -r 039bd84a6c33 configure --- 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