X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8b73c5318ccc837aff38c0e5a824bc4fd56c75c8..78fd3d12bc0f956d755a70564305863531010c34:/include/wx/tls.h diff --git a/include/wx/tls.h b/include/wx/tls.h index 1902716068..7846af1e3b 100644 --- a/include/wx/tls.h +++ b/include/wx/tls.h @@ -46,6 +46,8 @@ #else // !wxHAS_COMPILER_TLS #ifdef __WXMSW__ #include "wx/msw/tls.h" + #elif defined(__OS2__) + #include "wx/os2/tls.h" #elif defined(__UNIX__) #include "wx/unix/tls.h" #else @@ -71,7 +73,7 @@ // there somehow (probably by keeping a list of all TLS objects // and cleaning them up in wxThread cleanup) wxTlsValue() -#ifdef __UNIX__ +#if !defined(__OS2__) && defined(__UNIX__) : m_key(free) #endif {