changeset 27728:b21e4615ab94

Remove global definition of WIN32 in config.h for Cygwin. Instead just define it for libdvdcss, where it is strictly needed.
author diego
date Mon, 13 Oct 2008 16:26:05 +0000
parents 48c1ae64255b
children 85a9b1052a44
files configure
diffstat 1 files changed, 1 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- 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