fix build

This commit is contained in:
Yuichi Nishiwaki
2016-02-21 23:20:34 +09:00
parent 81dd765d8d
commit 4c376650ca
4 changed files with 9 additions and 8 deletions
+2 -2
View File
@@ -131,10 +131,10 @@ typedef unsigned long uint32_t;
#define PIC_FALLTHROUGH ((void)0)
#if __cplusplus
#if defined(__cplusplus)
# define PIC_UNUSED(v)
#elif __GNUC__ || __clang__
# define PIC_UNUSED(v) __attribute__((unused)) v
# define PIC_UNUSED(v) v __attribute__((unused))
#else
# define PIC_UNUSED(v) v
#endif