Add wxUSE_COMPILER_TLS to allow disabling compiler TLS support.
Compiler TLS support is broken under Win32/MSVC when used for a code which is part of a dynamically loaded DLL, so allow disabling it. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -92,6 +92,14 @@
|
||||
# endif
|
||||
#endif /* wxUSE_ANY */
|
||||
|
||||
#ifndef wxUSE_COMPILER_TLS
|
||||
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||
# error "wxUSE_COMPILER_TLS must be defined, please read comment near the top of this file."
|
||||
# else
|
||||
# define wxUSE_COMPILER_TLS 0
|
||||
# endif
|
||||
#endif /* !defined(wxUSE_COMPILER_TLS) */
|
||||
|
||||
#ifndef wxUSE_CONSOLE_EVENTLOOP
|
||||
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||
# error "wxUSE_CONSOLE_EVENTLOOP must be defined, please read comment near the top of this file."
|
||||
|
Reference in New Issue
Block a user