aboutsummaryrefslogtreecommitdiff
path: root/externals/discord-rpc/src/dllmain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'externals/discord-rpc/src/dllmain.cpp')
-rw-r--r--externals/discord-rpc/src/dllmain.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/externals/discord-rpc/src/dllmain.cpp b/externals/discord-rpc/src/dllmain.cpp
new file mode 100644
index 0000000000..fbfc2950d7
--- /dev/null
+++ b/externals/discord-rpc/src/dllmain.cpp
@@ -0,0 +1,8 @@
+#include <windows.h>
+
+// outsmart GCC's missing-declarations warning
+BOOL WINAPI DllMain(HMODULE, DWORD, LPVOID);
+BOOL WINAPI DllMain(HMODULE, DWORD, LPVOID)
+{
+ return TRUE;
+}