[xiph-commits] r3756 - liboggplay/trunk/src/liboggplay

giles at svn.annodex.net giles at svn.annodex.net
Thu Oct 30 11:28:07 PDT 2008


Author: giles
Date: 2008-10-30 11:28:06 -0700 (Thu, 30 Oct 2008)
New Revision: 3756

Modified:
   liboggplay/trunk/src/liboggplay/std_semaphore.h
Log:
Solaris semaphores are like Linux. Issue #1450.


Modified: liboggplay/trunk/src/liboggplay/std_semaphore.h
===================================================================
--- liboggplay/trunk/src/liboggplay/std_semaphore.h	2008-10-29 18:20:49 UTC (rev 3755)
+++ liboggplay/trunk/src/liboggplay/std_semaphore.h	2008-10-30 18:28:06 UTC (rev 3756)
@@ -34,7 +34,7 @@
 
 #ifndef _STD_SEMAPHORE_H
 #define _STD_SEMAPHORE_H
-#if defined(linux)
+#if defined(linux) || defined(SOLARIS)
 #include <semaphore.h>
 #define SEM_CREATE(p,s) sem_init(&(p), 1, s)
 #define SEM_SIGNAL(p)   sem_post(&(p))



More information about the commits mailing list