harmony-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=589331&view=rev
Log:
Minor fix 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=589331&r1=589330&r2=589331&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:03:27 2007
@@ -55,6 +55,10 @@
 #endif
 #include <assert.h>
 
+#if !defined(PTHREAD_MUTEX_RECURSIVE_NP) && defined(PTHREAD_MUTEX_RECURSIVE)
+#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=589331&r1=589330&r2=589331&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:03:27 2007
@@ -23,6 +23,9 @@
 #include "thread_private.h"
 #include <open/hythread_ext.h>
 
+#if !defined(PTHREAD_MUTEX_RECURSIVE_NP) && defined(PTHREAD_MUTEX_RECURSIVE)
+#define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE
+#endif
 
 /** @name Mutex
  *



Mime
View raw message