Ticket #10685: mfc_thread_init.patch

File mfc_thread_init.patch, 645 bytes (added by fab@…, 8 years ago)

Patch to address issue

  • boost_1_56_0/boost/thread/win32/mfc_thread_init.hpp

    diff -Nrup original/boost_1_56_0/boost/thread/win32/mfc_thread_init.hpp patched/boost_1_56_0/boost/thread/win32/mfc_thread_init.hpp
    old new  
    1313
    1414// can't use ExtRawDllMain from afxdllx.h as it also defines the symbol _pRawDllMain
    1515extern "C"
    16 inline BOOL WINAPI ExtRawDllMain(HINSTANCE, DWORD dwReason, LPVOID)
     16inline BOOL WINAPI ExtRawDllMain(HANDLE, DWORD dwReason, LPVOID)
    1717{
    1818  if (dwReason == DLL_PROCESS_ATTACH)
    1919  {