Add extern "C" to DllMain
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
bcd0d7b64b
commit
bd07485ce3
@ -97,6 +97,7 @@ PyObject* wxPyPtrTypeMap = NULL;
|
||||
// This gets run when the DLL is loaded. We just need to save a handle.
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
extern "C"
|
||||
BOOL WINAPI DllMain(
|
||||
HINSTANCE hinstDLL, // handle to DLL module
|
||||
DWORD fdwReason, // reason for calling function
|
||||
|
Loading…
Reference in New Issue
Block a user