summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authoratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-05 12:39:34 +0000
committeratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-05 12:39:34 +0000
commit57f571dea231b919e704809409c4a0f4e2c3b1b2 (patch)
tree400501de27c53536c267e24049e80bc987d44cc1 /configure
parent409f7b1395d7a9a8e8b02e3554e6bb2a47321a9e (diff)
downloadmpv-57f571dea231b919e704809409c4a0f4e2c3b1b2.tar.bz2
mpv-57f571dea231b919e704809409c4a0f4e2c3b1b2.tar.xz
Make cygwin define WIN32 for compatibility with mingw and visualc, ...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1442 b3059339-0415-0410-9bf9-f77b7e298cf2
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