diff options
| author | Andre Weissflog <floooh@gmail.com> | 2019-03-09 13:50:28 +0100 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2019-03-09 13:50:28 +0100 |
| commit | 7f4df6cd44875ef2b5912592c3c8d0c2401b5660 (patch) | |
| tree | bed76ed72db8298472341af7ead86f12b8769755 /sokol_args.h | |
| parent | 29ce2f7eedc74f260da2aaa326fbd8b9ce3c20d5 (diff) | |
add 'included' defines to all sokol headers for better error messages when included are missing
Diffstat (limited to 'sokol_args.h')
| -rw-r--r-- | sokol_args.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 <stdint.h> #include <stdbool.h> @@ -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 <string.h> /* memset, strcmp */ #if defined(__EMSCRIPTEN__) |