There is a DllMain() declaration in the mingw-runtime-4.0.3.1 and it differs from a tcc one.
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			326 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			13 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;
 | 
						|
}
 | 
						|
 |