X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f35f85a99ceec7ec92b68c84c843b226793107e1..da8b1d4b3b535aba94d04494f5b6e2b3e47901ee:/include/wx/os2/tls.h diff --git a/include/wx/os2/tls.h b/include/wx/os2/tls.h index adbfadc409..4c22721fb3 100644 --- a/include/wx/os2/tls.h +++ b/include/wx/os2/tls.h @@ -8,8 +8,8 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#ifndef _WX_MSW_TLS_H_ -#define _WX_MSW_TLS_H_ +#ifndef _WX_OS2_TLS_H_ +#define _WX_OS2_TLS_H_ #include "wx/os2/private.h" @@ -24,8 +24,8 @@ public: wxTlsKey() { APIRET rc = ::DosAllocThreadLocalMemory(1, &m_slot); - if (rc != NO_ERROR) - m_slot = NULL; + if (rc != NO_ERROR) + m_slot = NULL; } // return true if the key was successfully allocated @@ -41,7 +41,7 @@ public: bool Set(void *value) { m_slot = (ULONG*)value; - return true; + return true; } // free the key @@ -54,8 +54,8 @@ public: private: ULONG* m_slot; - DECLARE_NO_COPY_CLASS(wxTlsKey) + wxDECLARE_NO_COPY_CLASS(wxTlsKey); }; -#endif // _WX_MSW_TLS_H_ +#endif // _WX_OS2_TLS_H_