Index: src/IceCfg.cpp |
diff --git a/src/IceCfg.cpp b/src/IceCfg.cpp |
index a56ae2e17f994a4f1d98b815e2b5036decf3d250..c7be51127267fb07274fe168cb40ea52343b1f3e 100644 |
--- a/src/IceCfg.cpp |
+++ b/src/IceCfg.cpp |
@@ -25,7 +25,7 @@ |
namespace Ice { |
-ICE_ATTRIBUTE_TLS const Cfg *Cfg::CurrentCfg = nullptr; |
+ICE_TLS_DEFINE_FIELD(const Cfg *, Cfg, CurrentCfg); |
ArenaAllocator<> *getCurrentCfgAllocator() { |
return Cfg::getCurrentCfgAllocator(); |