aboutsummaryrefslogtreecommitdiffstats
path: root/src/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug.c')
-rw-r--r--src/debug.c2
1 files changed, 1 insertions, 1 deletions
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