fixing compilo for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1039,7 +1039,7 @@ OSStatus wxThreadInternal::MacThreadStart(void *parameter)
|
||||
wxThreadInternal *pthread = thread->m_internal;
|
||||
|
||||
// add to TLS so that This() will work
|
||||
verify_noerr( MPSetTaskStorageValue( gs_tlsForWXThread , (long) thread ) ) ;
|
||||
verify_noerr( MPSetTaskStorageValue( gs_tlsForWXThread , (TaskStorageValue) thread ) ) ;
|
||||
|
||||
// have to declare this before pthread_cleanup_push() which defines a
|
||||
// block!
|
||||
|
Reference in New Issue
Block a user