aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2017-12-23 22:51:42 +0200
committerSergey Poznyakoff <gray@gnu.org>2017-12-23 22:51:42 +0200
commitebc76f93985365d33c789c202b523e6b859e85b6 (patch)
tree9c5eb3376e0a018d7fd9bdbf4a9669772e65a717 /src
parent2e8a5e0be7b2db179018c10248a6cc64f9db3314 (diff)
downloadgdbm-ebc76f93985365d33c789c202b523e6b859e85b6.tar.gz
gdbm-ebc76f93985365d33c789c202b523e6b859e85b6.tar.bz2
Complement c175231e
* configure.ac: Check whether __thread qualifier is supported * src/gdbmerrno.c (gdbm_errno_storage): Use GDBM_THREAD_LOCAL instead of __thread.
Diffstat (limited to 'src')
-rw-r--r--src/gdbmerrno.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gdbmerrno.c b/src/gdbmerrno.c
index 12748b8..ec8534d 100644
--- a/src/gdbmerrno.c
+++ b/src/gdbmerrno.c
@@ -23,7 +23,7 @@
#include "gdbmdefs.h"
/* The dbm error number is placed in the variable GDBM_ERRNO. */
-static __thread gdbm_error gdbm_errno_storage = GDBM_NO_ERROR;
+static GDBM_THREAD_LOCAL gdbm_error gdbm_errno_storage = GDBM_NO_ERROR;
int *
gdbm_errno_location (void)

Return to:

Send suggestions and report system problems to the System administrator.