OSDN Git Service

2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
authorbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 Aug 2004 23:06:46 +0000 (23:06 +0000)
committerbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 Aug 2004 23:06:46 +0000 (23:06 +0000)
* specific.c: Check GC_LINUX_THREADS before including
private/specific.h. From Richard Earnshaw.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86084 138bc75d-0d04-0410-961f-82ee72b054a4

boehm-gc/ChangeLog
boehm-gc/specific.c

index 2acd7ce..4127647 100644 (file)
@@ -1,3 +1,8 @@
+2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
+
+       * specific.c: Check GC_LINUX_THREADS before including 
+       private/specific.h. From Richard Earnshaw.
+
 2004-08-16  Nathanael Nerode  <neroden@gcc.gnu.org>
 
        * aclocal.m4: Remove obsolete construct for old automake.
index f4e8aee..7d5d889 100644 (file)
  */
 
 #include "private/gc_priv.h" /* For GC_compare_and_exchange, GC_memory_barrier */
-#include "private/specific.h"
 
 #if defined(GC_LINUX_THREADS)
 
+#include "private/specific.h"
+
 static tse invalid_tse = {INVALID_QTID, 0, 0, INVALID_THREADID};
                        /* A thread-specific data entry which will never        */
                        /* appear valid to a reader.  Used to fill in empty     */