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
This commit is contained in:
Bryce McKinlay 2004-08-16 23:06:46 +00:00 committed by Bryce McKinlay
parent 45c8116dff
commit 28f2ebcf3c
2 changed files with 7 additions and 1 deletions

View 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.

View File

@ -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 */