diff dvdread_internal.h @ 41:ef679522d00f src

replaced conditional checks on MSC with _WIN32 to permit MINGW to mount and decrypt images; patch by John Stebbins (stebbing jetheaddev com)
author nicodvb
date Tue, 04 Aug 2009 21:21:49 +0000
parents 98951f8ec89c
children 3bc841283972
line wrap: on
line diff
--- a/dvdread_internal.h	Mon Jun 08 22:02:37 2009 +0000
+++ b/dvdread_internal.h	Tue Aug 04 21:21:49 2009 +0000
@@ -19,9 +19,9 @@
 #ifndef LIBDVDREAD_DVDREAD_INTERNAL_H
 #define LIBDVDREAD_DVDREAD_INTERNAL_H
 
-#ifdef _MSC_VER
+#ifdef _WIN32
 #include <unistd.h>
-#endif /* _MSC_VER */
+#endif /* _WIN32 */
 
 #define CHECK_VALUE(arg)                                                \
   if(!(arg)) {                                                          \