[xiph-commits] r3033 - in liboggplay/trunk: . src/liboggplay

tahn at svn.annodex.net tahn at svn.annodex.net
Sun Jun 24 18:08:38 PDT 2007


Author: tahn
Date: 2007-06-24 18:08:38 -0700 (Sun, 24 Jun 2007)
New Revision: 3033

Modified:
   liboggplay/trunk/configure.ac
   liboggplay/trunk/src/liboggplay/std_semaphore.h
Log:
Updated Mac-specific include handling for semaphores.


Modified: liboggplay/trunk/configure.ac
===================================================================
--- liboggplay/trunk/configure.ac	2007-06-25 00:55:38 UTC (rev 3032)
+++ liboggplay/trunk/configure.ac	2007-06-25 01:08:38 UTC (rev 3033)
@@ -65,6 +65,8 @@
     dnl System headers on these systems are broken.
     temp_CFLAGS=`echo $CFLAGS | sed "s/-Wall -pedantic//"`
     CFLAGS=$temp_CFLAGS
+    dnl add extra mac-specific directories to include path
+    CFLAGS="$CFLAGS -I/Developer/Headers/FlatCarbon/"
     HAVE_FRAMEWORKS="yes"
     AC_SUBST(PLATFORM,"mac")
     ;;

Modified: liboggplay/trunk/src/liboggplay/std_semaphore.h
===================================================================
--- liboggplay/trunk/src/liboggplay/std_semaphore.h	2007-06-25 00:55:38 UTC (rev 3032)
+++ liboggplay/trunk/src/liboggplay/std_semaphore.h	2007-06-25 01:08:38 UTC (rev 3033)
@@ -49,7 +49,7 @@
 #define SEM_TEST(p,s)   p = WaitForSingleObject(s, 0)
 #define SEM_CLOSE(p)    CloseHandle(p)
 typedef HANDLE          semaphore;
-#elif defined(XP_MACOSX)
+#elif defined(__APPLE__)
 #include <Multiprocessing.h>
 #define SEM_CREATE(p,s) MPCreateSemaphore(s, s, &(p))
 #define SEM_SIGNAL(p)   MPSignalSemaphore(p)



More information about the commits mailing list