aboutsummaryrefslogtreecommitdiff
path: root/sokol_app.h
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2019-03-09 13:50:28 +0100
committerAndre Weissflog <floooh@gmail.com>2019-03-09 13:50:28 +0100
commit7f4df6cd44875ef2b5912592c3c8d0c2401b5660 (patch)
treebed76ed72db8298472341af7ead86f12b8769755 /sokol_app.h
parent29ce2f7eedc74f260da2aaa326fbd8b9ce3c20d5 (diff)
add 'included' defines to all sokol headers for better error messages when included are missing
Diffstat (limited to 'sokol_app.h')
-rw-r--r--sokol_app.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sokol_app.h b/sokol_app.h
index 4ee51f52..9d0c1e74 100644
--- a/sokol_app.h
+++ b/sokol_app.h
@@ -382,6 +382,7 @@
3. This notice may not be removed or altered from any source
distribution.
*/
+#define SOKOL_APP_INCLUDED (1)
#include <stdint.h>
#include <stdbool.h>
@@ -659,6 +660,7 @@ SOKOL_API_DECL int sapp_run(const sapp_desc* desc);
/*-- IMPLEMENTATION ----------------------------------------------------------*/
#ifdef SOKOL_IMPL
+#define SOKOL_APP_IMPL_INCLUDED (1)
#ifdef _MSC_VER
#pragma warning(push)