From b7fef4609c3c07e7a117740affa9a7df10b6415d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 9 Mar 2020 09:54:43 +0100 Subject: Fix build with unknown C compilers --- pugl/detail/types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pugl') diff --git a/pugl/detail/types.h b/pugl/detail/types.h index d229848..dc0cce0 100644 --- a/pugl/detail/types.h +++ b/pugl/detail/types.h @@ -28,12 +28,12 @@ #include // Unused parameter macro to suppresses warnings and make it impossible to use -#if defined(__cplusplus) || defined(_MSC_VER) +#if defined(__cplusplus) # define PUGL_UNUSED(name) #elif defined(__GNUC__) # define PUGL_UNUSED(name) name##_unused __attribute__((__unused__)) #else -# define PUGL_UNUSED(name) +# define PUGL_UNUSED(name) name #endif /** Platform-specific world internals. */ -- cgit v1.2.1