Added implementation of thread local storage for OS/2.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2008-08-30 21:55:09 +00:00
parent 4aeb71a4d2
commit f35f85a99c
2 changed files with 64 additions and 1 deletions

View File

@@ -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
{