From: bryce Date: Mon, 16 Aug 2004 23:06:46 +0000 (+0000) Subject: 2004-08-16 Bryce McKinlay X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4553691eed147a20066d7f1574f9301b3379226b;p=gc 2004-08-16 Bryce McKinlay * 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 --- diff --git a/ChangeLog b/ChangeLog index 2acd7cea..41276473 100644 --- a/ChangeLog +++ b/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/specific.c b/specific.c index f4e8aeed..7d5d8894 100644 --- a/specific.c +++ b/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 */