diff options
author | David Robillard <d@drobilla.net> | 2020-10-21 14:48:23 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-10-21 15:43:29 +0200 |
commit | d678291f48f5f5f300ceb0e87baf3894b58fac3e (patch) | |
tree | 886b76efb483f902759ac63b5f58656c28e75878 /include | |
parent | 968289f731d2af02670e0c33bc8c88f5f324caa7 (diff) | |
download | pugl-d678291f48f5f5f300ceb0e87baf3894b58fac3e.tar.gz pugl-d678291f48f5f5f300ceb0e87baf3894b58fac3e.tar.bz2 pugl-d678291f48f5f5f300ceb0e87baf3894b58fac3e.zip |
Fix building with clang on Windows
Diffstat (limited to 'include')
-rw-r--r-- | include/pugl/detail/types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pugl/detail/types.h b/include/pugl/detail/types.h index edd2bd0..e18eb87 100644 --- a/include/pugl/detail/types.h +++ b/include/pugl/detail/types.h @@ -31,7 +31,7 @@ // Unused parameter macro to suppresses warnings and make it impossible to use #if defined(__cplusplus) # define PUGL_UNUSED(name) -#elif defined(__GNUC__) +#elif defined(__GNUC__) || defined(__clang__) # define PUGL_UNUSED(name) name##_unused __attribute__((__unused__)) #else # define PUGL_UNUSED(name) name |