aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index c549008ef5..0d7fbf9ee5 100755
--- a/configure
+++ b/configure
@@ -284,10 +284,12 @@ echo "Detected host architecture: $host_arch"
# 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 @@ $_words_endian
$_arch
+$_confwin32
+
/* Define this to any prefered value from 386 up to infinity with step 100 */
#define __CPU__ $iproc