mirror of
https://github.com/frida/tinycc
synced 2024-11-25 00:59:37 +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;
|
|
}
|
|
|