X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f877815e1b36c9b059b0d1025db4df4845e2a57d..f194560ed883138350643eb556f766814c409afc:/include/wx/thread.h diff --git a/include/wx/thread.h b/include/wx/thread.h index fb33bde0f8..1e7d9f215e 100644 --- a/include/wx/thread.h +++ b/include/wx/thread.h @@ -249,7 +249,11 @@ private: // finally, we need this typedef instead of declaring m_buffer directly // because otherwise the assert mentioned above wouldn't compile with some // compilers (notably CodeWarrior 8) +#ifdef __WIN64__ + typedef char wxCritSectBuffer[40]; +#else // __WIN32__ typedef char wxCritSectBuffer[24]; +#endif union { unsigned long m_dummy1;