Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Veksler <Mihails.Vekslers@zabbix.com>2019-12-03 17:26:21 +0300
committerMichael Veksler <Mihails.Vekslers@zabbix.com>2019-12-03 17:29:23 +0300
commit2458b44506910cdf2f16595e8099276c5c0e423a (patch)
tree83ac46434f0483b34e63b74df89f5f47bcdac119 /include/zbxtypes.h
parent4553c1b5ca6c05c7b6de3ecda598c469c69db25b (diff)
...G...... [DEV-1404] check gcc support of __thread keyword
* commit 'cd4b612bd0aebc907199a109b69a04d4fcf2e6da': ...G...... [DEV-1404] the message improvement ...G...... [DEV-1404] the error message improvement ...G...... [DEV-1404] check gcc support of __thread keyword (cherry picked from commit 44aa94c85725bf40d9c4abce0686bfb4b203880d)
Diffstat (limited to 'include/zbxtypes.h')
-rw-r--r--include/zbxtypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zbxtypes.h b/include/zbxtypes.h
index e51a3e0c6c8..230c898d3a5 100644
--- a/include/zbxtypes.h
+++ b/include/zbxtypes.h
@@ -23,7 +23,7 @@
#if defined(_WINDOWS)
# define ZBX_THREAD_LOCAL __declspec(thread)
#else
-# if defined(__GNUC__) || defined(__clang__) || defined(__MINGW32__)
+# if defined(HAVE_THREAD_LOCAL) && (defined(__GNUC__) || defined(__clang__) || defined(__MINGW32__))
# define ZBX_THREAD_LOCAL __thread
# else
# define ZBX_THREAD_LOCAL