mirror of
https://github.com/frida/tinycc
synced 2024-12-25 06:26:49 +03:00
b8925960ec
There is a DllMain() declaration in the mingw-runtime-4.0.3.1 and it differs from a tcc one.
14 lines
326 B
C
14 lines
326 B
C
//+---------------------------------------------------------------------------
|
|
|
|
#include <windows.h>
|
|
|
|
BOOL WINAPI DllMain (HINSTANCE hDll, DWORD dwReason, LPVOID lpReserved);
|
|
|
|
BOOL WINAPI _dllstart(HINSTANCE hDll, DWORD dwReason, LPVOID lpReserved)
|
|
{
|
|
BOOL bRet;
|
|
bRet = DllMain (hDll, dwReason, lpReserved);
|
|
return bRet;
|
|
}
|
|
|