From 21ab7f5574b22af50aa84bb2c5f4944ba8152572 Mon Sep 17 00:00:00 2001 From: theraven Date: Tue, 14 Feb 2012 14:24:37 +0000 Subject: Fix a misplaced __NO_TLS locations, and change a GNUism to a C11ism for consistency. Approved by: brooks (mentor) --- include/runetype.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/runetype.h') diff --git a/include/runetype.h b/include/runetype.h index ac47db1..5aeea09 100644 --- a/include/runetype.h +++ b/include/runetype.h @@ -86,10 +86,10 @@ typedef struct { __BEGIN_DECLS extern const _RuneLocale _DefaultRuneLocale; extern const _RuneLocale *_CurrentRuneLocale; -extern const _Thread_local _RuneLocale *_ThreadRuneLocale; #if defined(__NO_TLS) || defined(__RUNETYPE_INTERNAL) extern const _RuneLocale *__getCurrentRuneLocale(void); #else +extern const _Thread_local _RuneLocale *_ThreadRuneLocale; static inline const _RuneLocale *__getCurrentRuneLocale(void) { -- cgit v1.1