workaround for crashes in release builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
e47e063af2
commit
b69470e4ee
@ -69,7 +69,9 @@
|
||||
// use in DLL build under pre-Vista Windows so we disable this code for now, if
|
||||
// anybody really needs to use UTF-8 build under Windows with this optimization
|
||||
// it would have to be re-tested and probably corrected
|
||||
#if wxUSE_UNICODE_UTF8 && !defined(__WXMSW__)
|
||||
// CS: under OSX release builds the string destructor/cache cleanup sometimes
|
||||
// crashes, disable until we find the true reason or a better workaround
|
||||
#if wxUSE_UNICODE_UTF8 && !defined(__WXMSW__) && !defined(__WXOSX__)
|
||||
#define wxUSE_STRING_POS_CACHE 1
|
||||
#else
|
||||
#define wxUSE_STRING_POS_CACHE 0
|
||||
|
Loading…
Reference in New Issue
Block a user