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:
Robin Dunn 2005-04-04 15:32:17 +00:00
parent bcd0d7b64b
commit bd07485ce3

View File

@ -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