summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/FastRandom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FastRandom.cpp b/src/FastRandom.cpp
index 437dc72ff..c1716f026 100644
--- a/src/FastRandom.cpp
+++ b/src/FastRandom.cpp
@@ -10,7 +10,7 @@
#ifdef _WIN32
#define thread_local static __declspec(thread)
-#elif __APPLE__
+#elif defined __APPLE__
#define thread_local static __thread
#endif