diff options
Diffstat (limited to '')
-rw-r--r-- | src/ChangeLog | 4 | ||||
-rw-r--r-- | src/debug.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 98de853f..4a83b93c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2009-12-22 Marcus Brinkmann <[email protected]> + + * debug.c: Test for TLS, not __GNUC__ + 2009-12-15 Marcus Brinkmann <[email protected]> * assuan-support.c (my_spawn): Calloc, not malloc, the fd_items. 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 |