PatchSet 7734 
Date: 2008/02/02 16:25:49
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
cleaned up __USE_GNU

2008-02-02  Dalibor Topic  <[EMAIL PROTECTED]>

* kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:
Don't use __USE_GNU, use _GNU_SOURCE instead.

* TODO: Updated.

Members: 
        ChangeLog:1.5234->1.5235 
        TODO:1.50->1.51 
        kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:1.99->1.100 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.5234 kaffe/ChangeLog:1.5235
--- kaffe/ChangeLog:1.5234      Sat Feb  2 16:17:47 2008
+++ kaffe/ChangeLog     Sat Feb  2 16:25:49 2008
@@ -1,5 +1,12 @@
 2008-02-02  Dalibor Topic  <[EMAIL PROTECTED]>
 
+       * kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:
+       Don't use __USE_GNU, use _GNU_SOURCE instead.
+
+       * TODO: Updated.
+       
+2008-02-02  Dalibor Topic  <[EMAIL PROTECTED]>
+
        * FAQ/FAQ.bignum: Removed.
 
        * Makefile.am (EXTRA_DIST): Removed FAQ/FAQ.bignum.
Index: kaffe/TODO
diff -u kaffe/TODO:1.50 kaffe/TODO:1.51
--- kaffe/TODO:1.50     Sat Feb  2 16:07:23 2008
+++ kaffe/TODO  Sat Feb  2 16:25:50 2008
@@ -13,7 +13,6 @@
    * libjit could use a vmgenned interpreter, too.
 
 * Cleanup
- * Don't use __USE_GNU use _GNU_SOURCE instead
  * cleanup JNI library loading to use libltdl exclusively.
  * Remove unused instructions from jits (nop, unimplemented)
 
Index: kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c
diff -u kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:1.99 
kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:1.100
--- kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:1.99        Sat Feb 
 2 16:05:47 2008
+++ kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c     Sat Feb  2 
16:25:52 2008
@@ -47,9 +47,9 @@
 #include <gc/gc.h>
 #endif
 
-/* define __USE_GNU for pthread_yield on linux */
-#ifndef __USE_GNU
-#define __USE_GNU
+/* define _GNU_SOURCE for pthread_yield on linux */
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE
 #endif
 #include <pthread.h>
 

_______________________________________________
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to