diff options
Diffstat (limited to 'tinycc/win32/lib/dllcrt1.c')
| -rw-r--r-- | tinycc/win32/lib/dllcrt1.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tinycc/win32/lib/dllcrt1.c b/tinycc/win32/lib/dllcrt1.c deleted file mode 100644 index 5a9be82..0000000 --- a/tinycc/win32/lib/dllcrt1.c +++ /dev/null @@ -1,18 +0,0 @@ -//+--------------------------------------------------------------------------- - -#include <tchar.h> -#include <windows.h> -#include "crtinit.c" - -BOOL WINAPI DllMain (HINSTANCE hDll, DWORD dwReason, LPVOID lpReserved); - -BOOL WINAPI _dllstart(HINSTANCE hDll, DWORD dwReason, LPVOID lpReserved) -{ - BOOL bRet; - if (dwReason == DLL_PROCESS_ATTACH) /* ignore DLL_THREAD_ATTACH */ - run_ctors(0, 0, 0); - bRet = DllMain (hDll, dwReason, lpReserved); - if (dwReason == DLL_PROCESS_DETACH) /* ignore DLL_THREAD_DETACH */ - run_dtors(); - return bRet; -} |
