correct a DllMain() declaration in dllcrt1.c and dllmain.c

There is a DllMain() declaration in the mingw-runtime-4.0.3.1
and it differs from a tcc one.
master
seyko 2015-03-03 22:51:13 +03:00
parent 7b96ddd045
commit b8925960ec
2 changed files with 3 additions and 3 deletions

View File

@ -2,9 +2,9 @@
#include <windows.h>
BOOL WINAPI DllMain (HANDLE hDll, DWORD dwReason, LPVOID lpReserved);
BOOL WINAPI DllMain (HINSTANCE hDll, DWORD dwReason, LPVOID lpReserved);
BOOL WINAPI _dllstart(HANDLE hDll, DWORD dwReason, LPVOID lpReserved)
BOOL WINAPI _dllstart(HINSTANCE hDll, DWORD dwReason, LPVOID lpReserved)
{
BOOL bRet;
bRet = DllMain (hDll, dwReason, lpReserved);

View File

@ -2,7 +2,7 @@
#include <windows.h>
BOOL WINAPI DllMain (HANDLE hDll, DWORD dwReason, LPVOID lpReserved)
BOOL WINAPI DllMain (HINSTANCE hDll, DWORD dwReason, LPVOID lpReserved)
{
return TRUE;
}