From 578eb6de7cf8295e63253ccec3e9363a235e2b1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Thu, 15 Feb 2018 23:36:31 +0100 Subject: [PATCH] Provide fake DllMain declaration to fix missing-declarations warning (#130) --- src/dllmain.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dllmain.cpp b/src/dllmain.cpp index 39d7893..fbfc295 100644 --- a/src/dllmain.cpp +++ b/src/dllmain.cpp @@ -1,5 +1,7 @@ #include +// outsmart GCC's missing-declarations warning +BOOL WINAPI DllMain(HMODULE, DWORD, LPVOID); BOOL WINAPI DllMain(HMODULE, DWORD, LPVOID) { return TRUE;