commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r806304 - in /commons/sandbox/runtime/trunk/src/main/native/os/unix: pmutex.c psema.c
Date Thu, 20 Aug 2009 18:56:06 GMT
Author: mturk
Date: Thu Aug 20 18:56:05 2009
New Revision: 806304

URL: http://svn.apache.org/viewvc?rev=806304&view=rev
Log:
We don't use pointers

Modified:
    commons/sandbox/runtime/trunk/src/main/native/os/unix/pmutex.c
    commons/sandbox/runtime/trunk/src/main/native/os/unix/psema.c

Modified: commons/sandbox/runtime/trunk/src/main/native/os/unix/pmutex.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/unix/pmutex.c?rev=806304&r1=806303&r2=806304&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/unix/pmutex.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/unix/pmutex.c Thu Aug 20 18:56:05 2009
@@ -22,11 +22,14 @@
 #include "acr_memory.h"
 #include "acr_string.h"
 #include "acr_descriptor.h"
-#include "acr_pointer.h"
 #include "acr_procmutex.h"
 
 #include <semaphore.h>
 
+#ifndef SEM_FAILED
+#define SEM_FAILED (-1)
+#endif
+
 #ifndef NAME_MAX
 #define NAME_MAX   (64)
 #endif

Modified: commons/sandbox/runtime/trunk/src/main/native/os/unix/psema.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/unix/psema.c?rev=806304&r1=806303&r2=806304&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/unix/psema.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/unix/psema.c Thu Aug 20 18:56:05 2009
@@ -22,7 +22,6 @@
 #include "acr_memory.h"
 #include "acr_string.h"
 #include "acr_descriptor.h"
-#include "acr_pointer.h"
 #include "acr_semaphore.h"
 
 #include <semaphore.h>



Mime
View raw message