# HG changeset patch # User diego # Date 1223915165 0 # Node ID b21e4615ab94318420dc4106616a1d124e299648 # Parent 48c1ae64255b08627727b6ffd659c5b44b0db1cb Remove global definition of WIN32 in config.h for Cygwin. Instead just define it for libdvdcss, where it is strictly needed. diff -r 48c1ae64255b -r b21e4615ab94 configure --- a/configure Mon Oct 13 16:23:55 2008 +0000 +++ b/configure Mon Oct 13 16:26:05 2008 +0000 @@ -1403,10 +1403,6 @@ _need_shmem=no fi -if cygwin ; then - _def_confwin32='#define WIN32' -fi - if amigaos ; then _select=no _sighandler=no @@ -5460,7 +5456,7 @@ _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 @@ /* 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