]> git.sesse.net Git - vlc/commitdiff
mtime: ifdef vs if defined()
authorDerk-Jan Hartman <hartman@videolan.org>
Mon, 1 Jun 2009 11:34:33 +0000 (13:34 +0200)
committerDerk-Jan Hartman <hartman@videolan.org>
Mon, 1 Jun 2009 11:36:35 +0000 (13:36 +0200)
misc/mtime.c:59:18: warning: extra tokens at end of #ifdef directive
Grah, sorry about this, Apple parser doesn't see this as a problem, but other platforms do of course.

src/misc/mtime.c

index 6cd165385fa91b3f320f57e8a1414bbd6f974cad..29cb07638c2855256c31ade03c97ac12a6e96f54 100644 (file)
@@ -56,7 +56,7 @@
 #   include <sys/time.h>
 #endif
 
-#ifdef __APPLE__ && && !defined(__powerpc__) && !defined(__ppc__) && !defined(__ppc64__)
+#if defines(__APPLE__) && && !defined(__powerpc__) && !defined(__ppc__) && !defined(__ppc64__)
 #define USE_APPLE_MACH 1
 #   include <mach/mach.h>
 #   include <mach/mach_time.h>