mirror of
https://git.suyu.dev/suyu/discord-rpc.git
synced 2026-01-03 21:25:27 +01: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…
Add table
Add a link
Reference in a new issue