diff options
author | atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-05 12:39:34 +0000 |
---|---|---|
committer | atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-05 12:39:34 +0000 |
commit | 57f571dea231b919e704809409c4a0f4e2c3b1b2 (patch) | |
tree | 400501de27c53536c267e24049e80bc987d44cc1 /configure | |
parent | 409f7b1395d7a9a8e8b02e3554e6bb2a47321a9e (diff) |
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-x | configure | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |