From 7f4df6cd44875ef2b5912592c3c8d0c2401b5660 Mon Sep 17 00:00:00 2001 From: Andre Weissflog Date: Sat, 9 Mar 2019 13:50:28 +0100 Subject: add 'included' defines to all sokol headers for better error messages when included are missing --- sokol_args.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sokol_args.h') diff --git a/sokol_args.h b/sokol_args.h index e75c7ad5..918b55b4 100644 --- a/sokol_args.h +++ b/sokol_args.h @@ -232,6 +232,7 @@ 3. This notice may not be removed or altered from any source distribution. */ +#define SOKOL_ARGS_INCLUDED (1) #include #include @@ -281,6 +282,7 @@ SOKOL_API_DECL const char* sargs_value_at(int index); /*--- IMPLEMENTATION ---------------------------------------------------------*/ #ifdef SOKOL_IMPL +#define SOKOL_ARGS_IMPL_INCLUDED (1) #include /* memset, strcmp */ #if defined(__EMSCRIPTEN__) -- cgit v1.2.3