summaryrefslogtreecommitdiff
path: root/boehm-gc/specific.c
diff options
context:
space:
mode:
authorbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-16 23:06:46 +0000
committerbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-16 23:06:46 +0000
commit839e247e258febbdafe9547be927185589289055 (patch)
treef7b0ff08ea094cb6e08a2ff5d21f6b39872461e7 /boehm-gc/specific.c
parent690ff52f05a906f7140a975ca9487a9cf0c2aad4 (diff)
downloadgcc-839e247e258febbdafe9547be927185589289055.tar.gz
2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
* 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
Diffstat (limited to 'boehm-gc/specific.c')
-rw-r--r--boehm-gc/specific.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/boehm-gc/specific.c b/boehm-gc/specific.c
index f4e8aeed62c..7d5d8894d81 100644
--- a/boehm-gc/specific.c
+++ b/boehm-gc/specific.c
@@ -12,10 +12,11 @@
*/
#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 */