[kaffe] CVS kaffe (robilad): small warning cleanup

Kaffe CVS cvs-commits at kaffe.org
Sun Apr 16 11:52:38 PDT 2006


PatchSet 7226 
Date: 2006/04/16 18:44:10
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
small warning cleanup

2006-04-16  Dalibor Topic  <robilad at kaffe.org>

        * kaffe/kaffevm/systems/unix-pthreads/thread-internal.h:
        Conditionally define (__USE_GNU) if it has not been defined
        to fix a compiler warning.

Members: 
	ChangeLog:1.4732->1.4733 
	kaffe/kaffevm/systems/unix-pthreads/thread-internal.h:1.43->1.44 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4732 kaffe/ChangeLog:1.4733
--- kaffe/ChangeLog:1.4732	Sun Apr 16 07:19:56 2006
+++ kaffe/ChangeLog	Sun Apr 16 18:44:10 2006
@@ -1,3 +1,9 @@
+2006-04-16  Dalibor Topic  <robilad at kaffe.org>
+
+	* kaffe/kaffevm/systems/unix-pthreads/thread-internal.h:
+	Conditionally define (__USE_GNU) if it has not been defined
+	to fix a compiler warning.
+
 2006-04-16  Guilhem Lavaux  <guilhem at kaffe.org>
 
 	Fix for bug #35
Index: kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-internal.h
diff -u kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-internal.h:1.43 kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-internal.h:1.44
--- kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-internal.h:1.43	Sun Apr 16 07:20:16 2006
+++ kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-internal.h	Sun Apr 16 18:44:13 2006
@@ -15,7 +15,10 @@
 #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