Provide fake DllMain declaration to fix missing-declarations warning (#130)

This commit is contained in:
Michał Janiszewski 2018-02-15 23:36:31 +01:00 committed by Ben Morse
parent 4e61b9c82c
commit 578eb6de7c

View file

@ -1,5 +1,7 @@
#include <windows.h> #include <windows.h>
// outsmart GCC's missing-declarations warning
BOOL WINAPI DllMain(HMODULE, DWORD, LPVOID);
BOOL WINAPI DllMain(HMODULE, DWORD, LPVOID) BOOL WINAPI DllMain(HMODULE, DWORD, LPVOID)
{ {
return TRUE; return TRUE;