specific.c: Check GC_LINUX_THREADS before including private/specific.h.
authorBryce McKinlay <mckinlay@redhat.com>
Mon, 16 Aug 2004 23:06:46 +0000 (23:06 +0000)
committerBryce McKinlay <bryce@gcc.gnu.org>
Mon, 16 Aug 2004 23:06:46 +0000 (00:06 +0100)
2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>

* specific.c: Check GC_LINUX_THREADS before including
private/specific.h. From Richard Earnshaw.

From-SVN: r86084

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

index 2acd7cea6231cb33968dfebc319c4b1451f1758c..41276473a8b150aa5d00493ab9c09207fcbd0801 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 f4e8aeed62c72b9c989360ae79754b8e834f141f..7d5d8894d81039f43bc4cfffdefe09df275d91ce 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     */