[kaffe] CVS kaffe (robilad): fix for build on arm-oabi-linux-ffi

Kaffe CVS cvs-commits at kaffe.org
Sat Feb 2 08:08:21 PST 2008


PatchSet 7731 
Date: 2008/02/02 16:05:46
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
fix for build on arm-oabi-linux-ffi

2008-02-02  Dalibor Topic  <robilad at kaffe.org>

Fix for build on arm-oabi-linux-ffi.

* kaffe/kaffevm/systems/unix-pthreads/thread-impl.c (__USE_GNU)
Define it only if it's not yet defined.

* kaffe/kaffevm/systems/unix-pthreads/thread-internal.h (__USE_GNU):
Removed.
#

Members: 
	ChangeLog:1.5232->1.5233 
	kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:1.98->1.99 
	kaffe/kaffevm/systems/unix-pthreads/thread-internal.h:1.44->1.45 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.5232 kaffe/ChangeLog:1.5233
--- kaffe/ChangeLog:1.5232	Sat Feb  2 16:01:19 2008
+++ kaffe/ChangeLog	Sat Feb  2 16:05:46 2008
@@ -1,5 +1,15 @@
 2008-02-02  Dalibor Topic  <robilad at kaffe.org>
 
+	Fix for build on arm-oabi-linux-ffi.
+	
+	* kaffe/kaffevm/systems/unix-pthreads/thread-impl.c (__USE_GNU)
+	Define it only if it's not yet defined.
+	
+	* kaffe/kaffevm/systems/unix-pthreads/thread-internal.h (__USE_GNU):
+	Removed.
+	
+2008-02-02  Dalibor Topic  <robilad at kaffe.org>
+
 	* m4/gmp.m4: Removed.
 	
 2008-02-02  Dalibor Topic  <robilad at kaffe.org>
Index: kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c
diff -u kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:1.98 kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:1.99
--- kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:1.98	Sat Jan 19 15:13:42 2008
+++ kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c	Sat Feb  2 16:05:47 2008
@@ -48,7 +48,9 @@
 #endif
 
 /* define __USE_GNU for pthread_yield on linux */
+#ifndef __USE_GNU
 #define __USE_GNU
+#endif
 #include <pthread.h>
 
 #if !defined(HAVE_PTHREAD_YIELD) && defined(HAVE_SCHED_YIELD)
Index: kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-internal.h
diff -u kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-internal.h:1.44 kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-internal.h:1.45
--- kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-internal.h:1.44	Sun Apr 16 18:44:13 2006
+++ kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-internal.h	Sat Feb  2 16:05:47 2008
@@ -15,10 +15,6 @@
 #ifndef __thread_internal_h
 #define __thread_internal_h
 
-#if !defined(__USE_GNU)
-#define __USE_GNU
-#endif /* !defined(__USE_GNU) */
-
 #include <pthread.h>
 #include "repsemaphore.h"
 




More information about the kaffe mailing list