[DVDnav-discuss] r1170 - trunk/libdvdread/src/dvd_reader.c

diego subversion at mplayerhq.hu
Sat Apr 25 17:50:42 CEST 2009


Author: diego
Date: Sat Apr 25 17:50:42 2009
New Revision: 1170

Log:
Use __APPLE__ instead of __DARWIN__ in preprocessor check.
__DARWIN__ is not defined (by default) on Mac OS X and
__APPLE__ is used in other places throughout the code.

Modified:
   trunk/libdvdread/src/dvd_reader.c

Modified: trunk/libdvdread/src/dvd_reader.c
==============================================================================
--- trunk/libdvdread/src/dvd_reader.c	Wed Apr 22 09:40:57 2009	(r1169)
+++ trunk/libdvdread/src/dvd_reader.c	Sat Apr 25 17:50:42 2009	(r1170)
@@ -53,7 +53,7 @@ static inline int _private_gettimeofday(
 #define lseek64 _lseeki64
 #endif
 
-#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__bsdi__) || defined(__DARWIN__)
+#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__bsdi__) || defined(__APPLE__)
 #define SYS_BSD 1
 #endif
 


More information about the DVDnav-discuss mailing list