mirror of
https://github.com/mpv-player/mpv
synced 2025-01-20 21:07:29 +01:00
Remove global definition of WIN32 in config.h for Cygwin.
Instead just define it for libdvdcss, where it is strictly needed. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27762 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
4d644f513c
commit
885a7962ec
9
configure
vendored
9
configure
vendored
@ -1403,10 +1403,6 @@ if mingw32 ; then
|
||||
_need_shmem=no
|
||||
fi
|
||||
|
||||
if cygwin ; then
|
||||
_def_confwin32='#define WIN32'
|
||||
fi
|
||||
|
||||
if amigaos ; then
|
||||
_select=no
|
||||
_sighandler=no
|
||||
@ -5460,7 +5456,7 @@ if test "$_libdvdcss_internal" = yes ; then
|
||||
_def_dvd_darwin='#define DARWIN_DVD_IOCTL'
|
||||
_ld_extra="$_ld_extra -framework IOKit"
|
||||
elif cygwin ; then
|
||||
cflags_libdvdcss="-DSYS_CYGWIN"
|
||||
cflags_libdvdcss="-DSYS_CYGWIN -DWIN32"
|
||||
elif beos ; then
|
||||
cflags_libdvdcss="-DSYS_BEOS"
|
||||
elif os2 ; then
|
||||
@ -8292,9 +8288,6 @@ $_def_joystick
|
||||
/* Support for maemo (http://www.maemo.org) */
|
||||
$_def_maemo
|
||||
|
||||
/* Define this for Cygwin build for win32 */
|
||||
$_def_confwin32
|
||||
|
||||
/* Mac OS X specific features */
|
||||
$_def_macosx_finder
|
||||
$_def_macosx_bundle
|
||||
|
Loading…
Reference in New Issue
Block a user