aboutsummaryrefslogtreecommitdiff
path: root/sokol_app.h
diff options
context:
space:
mode:
Diffstat (limited to 'sokol_app.h')
-rw-r--r--sokol_app.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sokol_app.h b/sokol_app.h
index e3ab6b51..4accc49b 100644
--- a/sokol_app.h
+++ b/sokol_app.h
@@ -1499,7 +1499,7 @@ inline void sapp_run(const sapp_desc& desc) { return sapp_run(&desc); }
#include <windows.h>
#include <windowsx.h>
#include <shellapi.h>
- #if !defined(SOKOL_WIN32_FORCE_MAIN)
+ #if !defined(SOKOL_NO_ENTRY) && !defined(SOKOL_WIN32_FORCE_MAIN)
#pragma comment (linker, "/subsystem:windows")
#endif
#include <stdio.h> /* freopen() */