From 28f2ebcf3c220770922f71f699b07c180b46e745 Mon Sep 17 00:00:00 2001 From: Bryce McKinlay Date: Mon, 16 Aug 2004 23:06:46 +0000 Subject: [PATCH] specific.c: Check GC_LINUX_THREADS before including private/specific.h. 2004-08-16 Bryce McKinlay * specific.c: Check GC_LINUX_THREADS before including private/specific.h. From Richard Earnshaw. From-SVN: r86084 --- boehm-gc/ChangeLog | 5 +++++ boehm-gc/specific.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog index 2acd7cea623..41276473a8b 100644 --- a/boehm-gc/ChangeLog +++ b/boehm-gc/ChangeLog @@ -1,3 +1,8 @@ +2004-08-16 Bryce McKinlay + + * specific.c: Check GC_LINUX_THREADS before including + private/specific.h. From Richard Earnshaw. + 2004-08-16 Nathanael Nerode * aclocal.m4: Remove obsolete construct for old automake. 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 */ -- 2.30.2