X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8b73c5318ccc837aff38c0e5a824bc4fd56c75c8..a2580e1c491f912bcf86ead99859d69ab525ce2e:/include/wx/tls.h?ds=sidebyside 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 {