From ff768b032e5c96b546a0f66a98b0555845bd8217 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 4 Oct 2022 20:21:56 +0300 Subject: Windows XP compatibility fix --- libs/hunspell/src/htypes.hxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'libs/hunspell') diff --git a/libs/hunspell/src/htypes.hxx b/libs/hunspell/src/htypes.hxx index 44366b1d68..d71084863d 100644 --- a/libs/hunspell/src/htypes.hxx +++ b/libs/hunspell/src/htypes.hxx @@ -55,11 +55,7 @@ // approx. number of user defined words #define USERWORD 1000 -#if __cplusplus >= 201103L || (defined(_MSC_VER) && _MSC_VER >= 1900) -# define HUNSPELL_THREAD_LOCAL thread_local -#else -# define HUNSPELL_THREAD_LOCAL static -#endif +#define HUNSPELL_THREAD_LOCAL static struct hentry { unsigned char blen; // word length in bytes -- cgit v1.2.3