mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 05:27:41 -05:00
build: Make ImHex fully compile with warnings enabled in MSVC
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#include <windows.h>
|
||||
#define PLUGIN_ENTRY_POINT extern "C" BOOL WINAPI DllMain(HINSTANCE hInstDll, DWORD fwdReason, LPVOID lpReserved) { return TRUE; }
|
||||
#define PLUGIN_ENTRY_POINT extern "C" BOOL WINAPI DllMain(HINSTANCE, DWORD, LPVOID) { return TRUE; }
|
||||
#else
|
||||
#define PLUGIN_ENTRY_POINT
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user