win: remove optional DLLMain entry point

This commit is contained in:
Recep Aslantas
2019-07-17 17:18:50 +03:00
parent cc75dc7f34
commit 5bf5ceeb40
3 changed files with 0 additions and 27 deletions

View File

@@ -1,23 +0,0 @@
/*
* Copyright (c), Recep Aslantas.
*
* MIT License (MIT), http://opensource.org/licenses/MIT
* Full license can be found in the LICENSE file
*/
#include "config.h"
BOOL
APIENTRY
DllMain(HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved) {
switch (ul_reason_for_call) {
case DLL_PROCESS_ATTACH:
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}

View File

@@ -24,7 +24,6 @@
<ClCompile Include="..\src\box.c" />
<ClCompile Include="..\src\cam.c" />
<ClCompile Include="..\src\curve.c" />
<ClCompile Include="..\src\dllmain.c" />
<ClCompile Include="..\src\ease.c" />
<ClCompile Include="..\src\euler.c" />
<ClCompile Include="..\src\frustum.c" />

View File

@@ -45,9 +45,6 @@
<ClCompile Include="..\src\cam.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="..\src\dllmain.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="..\src\euler.c">
<Filter>src</Filter>
</ClCompile>