Index: src/IceCfg.h |
diff --git a/src/IceCfg.h b/src/IceCfg.h |
index 15f353cb56226d331eee5fd198d1fef1d601d399..b45a95bec28ee0544d5a817d921c773c3fda595d 100644 |
--- a/src/IceCfg.h |
+++ b/src/IceCfg.h |
@@ -213,7 +213,7 @@ private: |
// Maintain a pointer in TLS to the current Cfg being translated. |
// This is primarily for accessing its allocator statelessly, but |
// other uses are possible. |
- thread_local static const Cfg *CurrentCfg; |
+ ICE_ATTRIBUTE_TLS static const Cfg *CurrentCfg; |
}; |
} // end of namespace Ice |