mirror of
https://github.com/mpv-player/mpv
synced 2024-12-23 23:32:26 +00:00
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
This commit is contained in:
parent
409f7b1395
commit
57f571dea2
4
configure
vendored
4
configure
vendored
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user