From 7eb555370fe4b55bdbf7f682e0b66997dd32b7f0 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Tue, 22 Dec 2009 13:00:30 +0000 Subject: 2009-12-22 Marcus Brinkmann * configure.ac: Do not use echo -n. Test for __thread. src/ 2009-12-22 Marcus Brinkmann * debug.c: Test for TLS, not __GNUC__ --- src/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/debug.c') diff --git a/src/debug.c b/src/debug.c index 1471ff24..38e0cca6 100644 --- a/src/debug.c +++ b/src/debug.c @@ -55,7 +55,7 @@ static int debug_level; static FILE *errfp; -#ifdef __GNUC__ +#ifdef HAVE_TLS #define FRAME_NR static __thread int frame_nr = 0; #endif -- cgit v1.2.3