harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r589335 - in /harmony/enhanced/drlvm/trunk/vm: jitrino/src/shared/mkernel.h thread/src/linux/os_mutex.c
Date Sun, 28 Oct 2007 11:23:33 GMT
Author: hindessm
Date: Sun Oct 28 04:23:32 2007
New Revision: 589335

URL: http://svn.apache.org/viewvc?rev=589335&view=rev
Log:
Simplify define for FreeBSD.

Modified:
    harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/mkernel.h
    harmony/enhanced/drlvm/trunk/vm/thread/src/linux/os_mutex.c

Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/mkernel.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/mkernel.h?rev=589335&r1=589334&r2=589335&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/mkernel.h (original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/mkernel.h Sun Oct 28 04:23:32 2007
@@ -55,10 +55,9 @@
 #endif
 #include <assert.h>
 
-#if !defined(PTHREAD_MUTEX_RECURSIVE_NP) && defined(PTHREAD_MUTEX_RECURSIVE)
+#if defined(FREEBSD)
 #define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE
 #endif
-
 
 namespace Jitrino { 
 

Modified: harmony/enhanced/drlvm/trunk/vm/thread/src/linux/os_mutex.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/thread/src/linux/os_mutex.c?rev=589335&r1=589334&r2=589335&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/thread/src/linux/os_mutex.c (original)
+++ harmony/enhanced/drlvm/trunk/vm/thread/src/linux/os_mutex.c Sun Oct 28 04:23:32 2007
@@ -23,7 +23,7 @@
 #include "thread_private.h"
 #include <open/hythread_ext.h>
 
-#if !defined(PTHREAD_MUTEX_RECURSIVE_NP) && defined(PTHREAD_MUTEX_RECURSIVE)
+#if defined(FREEBSD)
 #define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE
 #endif
 



Mime
View raw message