From f45b1038718dcec482c91a56fe605b2eabcf029d Mon Sep 17 00:00:00 2001 From: twanvl Date: Fri, 30 May 2008 19:34:59 +0000 Subject: [PATCH] The __thread keyword is a gcc thing, not a linux thing git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@893 0fc631ac-6414-0410-93d0-97cfa31319b6 --- src/util/dynamic_arg.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/dynamic_arg.hpp b/src/util/dynamic_arg.hpp index 1c0377a8..7c054aa6 100644 --- a/src/util/dynamic_arg.hpp +++ b/src/util/dynamic_arg.hpp @@ -23,7 +23,7 @@ #ifdef _MSC_VER # define THREAD_LOCAL __declspec(thread) # define HAVE_TLS 1 -#elif defined __linux +#elif defined __GNUC__ # define THREAD_LOCAL __thread # define HAVE_TLS 1 #else