From d86497bc393606519eff0900020dec8bf3a6055f Mon Sep 17 00:00:00 2001
From: Arthur de Jong <arthur@arthurdejong.org>
Date: Fri, 18 Jan 2013 13:02:37 +0000
Subject: use the AX_TLS macro to find correct thread-local storage class
 compiler directive

git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1921 ef36b2f9-881f-0410-afb5-c4e39611909c
---
 nslcd/log.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'nslcd/log.c')

diff --git a/nslcd/log.c b/nslcd/log.c
index 3e70462..6613a4c 100644
--- a/nslcd/log.c
+++ b/nslcd/log.c
@@ -1,7 +1,7 @@
 /*
    log.c - logging funtions
 
-   Copyright (C) 2002, 2003, 2008, 2010, 2011, 2012 Arthur de Jong
+   Copyright (C) 2002, 2003, 2008, 2010, 2011, 2012, 2013 Arthur de Jong
 
    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
@@ -44,10 +44,10 @@ static int prelogging_loglevel = LOG_INFO;
 static int loglevel = LOG_INFO;
 
 /* the session id that is set for this thread */
-static __thread char *sessionid = NULL;
+static TLS char *sessionid = NULL;
 
 /* the request identifier that is set for this thread */
-static __thread char *requestid = NULL;
+static TLS char *requestid = NULL;
 #define MAX_REQUESTID_LENGTH 40
 
 /* set loglevel when no logging is configured */
-- 
cgit v1.2.3