mirror of
https://github.com/yuzu-emu/discord-rpc
synced 2024-11-26 11:58:27 +00:00
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>
|
||||
|
||||
// outsmart GCC's missing-declarations warning
|
||||
BOOL WINAPI DllMain(HMODULE, DWORD, LPVOID);
|
||||
BOOL WINAPI DllMain(HMODULE, DWORD, LPVOID)
|
||||
{
|
||||
return TRUE;
|
||||
|
|
Loading…
Reference in a new issue