summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/demo/Freeze/customEvictor/CurrentDatabase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/demo/Freeze/customEvictor/CurrentDatabase.cpp b/cpp/demo/Freeze/customEvictor/CurrentDatabase.cpp
index e45b4feb28b..0dea8f43459 100644
--- a/cpp/demo/Freeze/customEvictor/CurrentDatabase.cpp
+++ b/cpp/demo/Freeze/customEvictor/CurrentDatabase.cpp
@@ -18,7 +18,7 @@ using namespace IceUtil;
// can only create and destroy one CurrentDatabase per process run.
//
-#ifdef _MSC_VER
+#if defined(_MSC_VER) || defined(__BCPLUSPLUS__)
#define __thread __declspec(thread)
#endif