summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-10-13 16:26:05 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-10-13 16:26:05 +0000
commit885a7962ec11d90f06d81999c719b9128e2de6c7 (patch)
tree9f670a51688ac98b2f15006821c177b038b71453 /configure
parent4d644f513c841eaf4617edffb348338a798d37be (diff)
downloadmpv-885a7962ec11d90f06d81999c719b9128e2de6c7.tar.bz2
mpv-885a7962ec11d90f06d81999c719b9128e2de6c7.tar.xz
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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 1 insertions, 8 deletions
diff --git a/configure b/configure
index be4c133c43..c4197fd1c4 100755
--- a/configure
+++ b/configure
@@ -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