diff options
author | Steve Hay <steve.m.hay@googlemail.com> | 2014-04-14 21:00:48 +0100 |
---|---|---|
committer | Steve Hay <steve.m.hay@googlemail.com> | 2014-04-14 23:15:26 +0100 |
commit | a5d1065d95b2c2bac2459d722bc74ddd856f0f85 (patch) | |
tree | b3b05bf706f554695fe59699f5cca8be0b8e229f /win32/perllib.c | |
parent | 200b4fd964d51e9e061e3425234c5271db3a89b1 (diff) | |
download | perl-a5d1065d95b2c2bac2459d722bc74ddd856f0f85.tar.gz |
Fix DllMain definition to fix building with gcc-4.8.1 from www.mingw.org
This partly fixes perl #121643.
Diffstat (limited to 'win32/perllib.c')
-rw-r--r-- | win32/perllib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/perllib.c b/win32/perllib.c index 84a618a77f..cd1c11ad3a 100644 --- a/win32/perllib.c +++ b/win32/perllib.c @@ -291,7 +291,7 @@ EndSockets(void); EXTERN_C /* GCC in C++ mode mangles the name, otherwise */ #endif BOOL APIENTRY -DllMain(HANDLE hModule, /* DLL module handle */ +DllMain(HINSTANCE hModule, /* DLL module handle */ DWORD fdwReason, /* reason called */ LPVOID lpvReserved) /* reserved */ { |