aboutsummaryrefslogtreecommitdiff
path: root/sokol_args.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_args.h
parent99b65136cf40bff13344d9295e9d80b635992d99 (diff)
fix warnings in D3D11 code path and clang-msvc
Diffstat (limited to 'sokol_args.h')
-rw-r--r--sokol_args.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sokol_args.h b/sokol_args.h
index c5528337..7482097e 100644
--- a/sokol_args.h
+++ b/sokol_args.h
@@ -341,7 +341,7 @@ inline void sargs_setup(const sargs_desc& desc) { return sargs_setup(&desc); }
#endif
#ifndef _SOKOL_PRIVATE
- #if defined(__GNUC__)
+ #if defined(__GNUC__) || defined(__clang__)
#define _SOKOL_PRIVATE __attribute__((unused)) static
#else
#define _SOKOL_PRIVATE static