don't use new string caching code without compiler TLS support (temporary fix to compilation problems)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-08-28 21:50:10 +00:00
parent af912213b3
commit b053bf9ef4

View File

@@ -75,6 +75,12 @@
#define wxUSE_STRING_POS_CACHE 0 #define wxUSE_STRING_POS_CACHE 0
#endif #endif
#ifndef wxHAS_COMPILER_TLS
// FIXME: currently the code only works with compiler TLS support
#undef wxUSE_STRING_POS_CACHE
#define wxUSE_STRING_POS_CACHE 0
#endif
#if wxUSE_STRING_POS_CACHE #if wxUSE_STRING_POS_CACHE
#include "wx/tls.h" #include "wx/tls.h"