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_time.h | |
| parent | 29ce2f7eedc74f260da2aaa326fbd8b9ce3c20d5 (diff) | |
add 'included' defines to all sokol headers for better error messages when included are missing
Diffstat (limited to 'sokol_time.h')
| -rw-r--r-- | sokol_time.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sokol_time.h b/sokol_time.h index 45c1c2f9..a1c8bdd0 100644 --- a/sokol_time.h +++ b/sokol_time.h @@ -79,6 +79,7 @@ 3. This notice may not be removed or altered from any source distribution. */ +#define SOKOL_TIME_INCLUDED (1) #include <stdint.h> #ifndef SOKOL_API_DECL @@ -105,6 +106,7 @@ SOKOL_API_DECL double stm_ns(uint64_t ticks); /*-- IMPLEMENTATION ----------------------------------------------------------*/ #ifdef SOKOL_IMPL +#define SOKOL_TIME_IMPL_INCLUDED (1) #include <string.h> /* memset */ #ifndef SOKOL_API_IMPL |