Provide fake DllMain declaration to fix missing-declarations warning (#130)
This commit is contained in:
parent
4e61b9c82c
commit
578eb6de7c
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue