[MPlayer-dev-eng] [PATCH] cygwin mpdvdkit fails to compile

Joey Parrish joey at nicewarrior.org
Mon Feb 10 19:30:07 CET 2003


Hello,

The latest mpdvdkit fails to compile because the new sources want
SYS_CYGWIN defined, but we the standard __CYGWIN__.  I added a quick fix
to the only file that cares.  Patch attached.

--Joey
-------------- next part --------------
diff -ur 0_90.cvs/libmpdvdkit2/libdvdcss.c 0_90.dev/libmpdvdkit2/libdvdcss.c
--- 0_90.cvs/libmpdvdkit2/libdvdcss.c	2003-02-07 18:22:38.000000000 -0600
+++ 0_90.dev/libmpdvdkit2/libdvdcss.c	2003-02-10 10:03:05.000000000 -0600
@@ -113,6 +113,10 @@
 #include "ioctl.h"
 #include "device.h"
 
+#ifdef __CYGWIN__
+#define SYS_CYGWIN
+#endif
+
 /**
  * \brief Symbol for version checks.
  *


More information about the MPlayer-dev-eng mailing list