build for windows (dll)

This commit is contained in:
Recep Aslantas
2017-04-22 14:52:15 +03:00
parent 8a34e74b87
commit e2fcf80e48
6 changed files with 408 additions and 0 deletions

23
src/dllmain.c Normal file
View File

@@ -0,0 +1,23 @@
/*
* 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;
}