diff options
Diffstat (limited to 'include/pugl')
-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 |