diff options
| author | Andre Weissflog <floooh@gmail.com> | 2020-11-28 16:49:56 +0100 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2020-11-28 16:49:56 +0100 |
| commit | d54c14c171732f30fbb3cbeb8efd75b8389d22f8 (patch) | |
| tree | 5640840053a8459f8f5aa88cbe836993bc4ebf37 /sokol_time.h | |
| parent | 8135988629e1a0df4394201284886b038fa8bc5c (diff) | |
move SOKOL_IMPL vs SOKOL_xxx_IMPL outside the include guard
Diffstat (limited to 'sokol_time.h')
| -rw-r--r-- | sokol_time.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sokol_time.h b/sokol_time.h index c1ebf1d5..29ecdacf 100644 --- a/sokol_time.h +++ b/sokol_time.h @@ -1,3 +1,6 @@ +#if defined(SOKOL_IMPL) && !defined(SOKOL_TIME_IMPL) +#define SOKOL_TIME_IMPL +#endif #ifndef SOKOL_TIME_INCLUDED /* sokol_time.h -- simple cross-platform time measurement @@ -103,9 +106,6 @@ #define SOKOL_TIME_INCLUDED (1) #include <stdint.h> -#if defined(SOKOL_IMPL) && !defined(SOKOL_TIME_IMPL) -#define SOKOL_TIME_IMPL -#endif #if defined(SOKOL_API_DECL) && !defined(SOKOL_TIME_API_DECL) #define SOKOL_TIME_API_DECL SOKOL_API_DECL #endif |