From d86497bc393606519eff0900020dec8bf3a6055f Mon Sep 17 00:00:00 2001 From: Arthur de Jong 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 --- nss/group.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nss/group.c') diff --git a/nss/group.c b/nss/group.c index 69d0f02..c00b086 100644 --- a/nss/group.c +++ b/nss/group.c @@ -2,7 +2,7 @@ group.c - NSS lookup functions for group database Copyright (C) 2006 West Consulting - Copyright (C) 2006, 2007, 2008, 2009, 2010, 2012 Arthur de Jong + Copyright (C) 2006, 2007, 2008, 2009, 2010, 2012, 2013 Arthur de Jong Copyright (C) 2010 Symas Corporation This library is free software; you can redistribute it and/or @@ -133,7 +133,7 @@ nss_status_t _nss_ldap_getgrgid_r(gid_t gid, struct group *result, } /* thread-local file pointer to an ongoing request */ -static __thread TFILE *grentfp; +static TLS TFILE *grentfp; /* start a request to read all groups */ nss_status_t _nss_ldap_setgrent(int UNUSED(stayopen)) -- cgit v1.2.3