diff options
author | Bryce McKinlay <mckinlay@redhat.com> | 2004-08-16 23:06:46 +0000 |
---|---|---|
committer | Bryce McKinlay <bryce@gcc.gnu.org> | 2004-08-17 00:06:46 +0100 |
commit | 28f2ebcf3c220770922f71f699b07c180b46e745 (patch) | |
tree | f7b0ff08ea094cb6e08a2ff5d21f6b39872461e7 /boehm-gc/specific.c | |
parent | 45c8116dff2f220cfc8bc2d8a711fe05a6a81bce (diff) | |
download | gcc-28f2ebcf3c220770922f71f699b07c180b46e745.zip gcc-28f2ebcf3c220770922f71f699b07c180b46e745.tar.gz gcc-28f2ebcf3c220770922f71f699b07c180b46e745.tar.bz2 |
specific.c: Check GC_LINUX_THREADS before including private/specific.h.
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
Diffstat (limited to 'boehm-gc/specific.c')
-rw-r--r-- | boehm-gc/specific.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/boehm-gc/specific.c b/boehm-gc/specific.c index f4e8aee..7d5d889 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 */ |