aboutsummaryrefslogtreecommitdiffstats
path: root/src/debug.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2009-12-22 13:00:30 +0000
committerMarcus Brinkmann <[email protected]>2009-12-22 13:00:30 +0000
commit7eb555370fe4b55bdbf7f682e0b66997dd32b7f0 (patch)
tree62a7fe7bc3e8befb5488672c6c47d22e9e63ce4c /src/debug.c
parent2009-12-17 Marcus Brinkmann <[email protected]> (diff)
downloadgpgme-7eb555370fe4b55bdbf7f682e0b66997dd32b7f0.tar.gz
gpgme-7eb555370fe4b55bdbf7f682e0b66997dd32b7f0.zip
2009-12-22 Marcus Brinkmann <[email protected]>
* configure.ac: Do not use echo -n. Test for __thread. src/ 2009-12-22 Marcus Brinkmann <[email protected]> * debug.c: Test for TLS, not __GNUC__
Diffstat (limited to '')
-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