changeset 10721:e482b16c7145

__CYGWIN__->SYS_CYGWIN define moved to the right place (cut from Joey's dvdkit2 update patch)
author arpi
date Sat, 30 Aug 2003 13:38:15 +0000
parents f23c35ce0d16
children f06b8ea6f850
files libmpdvdkit2/common.h libmpdvdkit2/libdvdcss.c
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdvdkit2/common.h	Sat Aug 30 13:35:25 2003 +0000
+++ b/libmpdvdkit2/common.h	Sat Aug 30 13:38:15 2003 +0000
@@ -29,6 +29,10 @@
  *****************************************************************************/
 #include <inttypes.h>
 
+#ifdef __CYGWIN__
+#define SYS_CYGWIN
+#endif
+
 #if defined( WIN32 )
 
 #ifndef PATH_MAX
--- a/libmpdvdkit2/libdvdcss.c	Sat Aug 30 13:35:25 2003 +0000
+++ b/libmpdvdkit2/libdvdcss.c	Sat Aug 30 13:38:15 2003 +0000
@@ -113,10 +113,6 @@
 #include "ioctl.h"
 #include "device.h"
 
-#ifdef __CYGWIN__
-#define SYS_CYGWIN
-#endif
-
 #ifndef HAVE_MPLAYER
  #include "get_path.c"
 #else