X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f35f85a99ceec7ec92b68c84c843b226793107e1..f3ff831f3be88834579fc9a0ce17f24745650faf:/include/wx/os2/tls.h diff --git a/include/wx/os2/tls.h b/include/wx/os2/tls.h index adbfadc409..9746f3cf93 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 @@ -57,5 +57,5 @@ private: DECLARE_NO_COPY_CLASS(wxTlsKey) }; -#endif // _WX_MSW_TLS_H_ +#endif // _WX_OS2_TLS_H_