thread_local
1 parent 0895705 commit 39751e3Copy full SHA for 39751e3
1 file changed
core/src/ZXConfig.h
@@ -9,7 +9,7 @@
9
// in e.g. the ReedSolomonDecoder. It is disabled by default. It can be enabled by modifying the following define.
10
// Note: The Apple clang compiler until XCode 8 does not support c++11's thread_local.
11
// The alternative 'static' makes the code thread unsafe.
12
-#define ZX_THREAD_LOCAL // '' (nothing), 'thread_local' or 'static'
+#define ZX_THREAD_LOCAL thread_local // '' (nothing), 'thread_local' or 'static'
13
14
// The Galoir Field abstractions used in Reed-Solomon error correction code can use more memory to eliminate a modulo
15
// operation. This improves performance but might not be the best option if RAM is scarce. The effect is a few kB big.
0 commit comments