diff --git a/win32/perllib.c b/win32/perllib.c index 15cef6ebb731..eb330f4f8cf0 100644 --- a/win32/perllib.c +++ b/win32/perllib.c @@ -261,8 +261,10 @@ EXTERN_C /* GCC in C++ mode mangles the name, otherwise */ BOOL APIENTRY DllMain(HINSTANCE hModule, /* DLL module handle */ DWORD fdwReason, /* reason called */ - LPVOID) /* reserved */ + LPVOID lpvReserved) /* reserved */ { + PERL_UNUSED_ARG(lpvReserved); + switch (fdwReason) { /* The DLL is attaching to a process due to process * initialization or a call to LoadLibrary.