mirror of
https://git.suyu.dev/suyu/discord-rpc.git
synced 2026-02-05 03:23:37 +00:00
Provide fake DllMain declaration to fix missing-declarations warning (#130)
This commit is contained in:
parent
4e61b9c82c
commit
578eb6de7c
@ -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 New Issue
Block a user