aboutsummaryrefslogtreecommitdiff
path: root/sokol_time.h
diff options
context:
space:
mode:
authorEduardo Bart <edub4rt@gmail.com>2020-06-01 17:14:06 -0300
committerEduardo Bart <edub4rt@gmail.com>2020-06-01 17:14:06 -0300
commitdd46cc1d65fb33335661a606b20a28faf4bc934d (patch)
treeb6de51db3a0e9ce02b5b66fb8cfaf51aefd1f47f /sokol_time.h
parent99b65136cf40bff13344d9295e9d80b635992d99 (diff)
fix warnings in D3D11 code path and clang-msvc
Diffstat (limited to 'sokol_time.h')
-rw-r--r--sokol_time.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sokol_time.h b/sokol_time.h
index 9bcbc073..18bc8a96 100644
--- a/sokol_time.h
+++ b/sokol_time.h
@@ -144,7 +144,7 @@ SOKOL_API_DECL double stm_ns(uint64_t ticks);
#define SOKOL_ASSERT(c) assert(c)
#endif
#ifndef _SOKOL_PRIVATE
- #if defined(__GNUC__)
+ #if defined(__GNUC__) || defined(__clang__)
#define _SOKOL_PRIVATE __attribute__((unused)) static
#else
#define _SOKOL_PRIVATE static