1
0
mirror of https://github.com/cc65/cc65.git synced 2026-04-20 17:20:49 +00:00

Updated ATTR_UNUSED() for clang

This commit is contained in:
Silver Dream !
2022-11-06 11:27:08 +00:00
parent 5d1ad05cb8
commit 2dcccae036
+1 -1
View File
@@ -46,7 +46,7 @@
#ifdef __clang__
# define attribute(a) __attribute__(a)
# define ATTR_UNUSED(x) x
# define ATTR_UNUSED(x) __attribute__((__unused__)) x
# define ATTR_NORETURN __attribute__((analyzer_noreturn))
#elif defined(__GNUC__)
# define attribute(a) __attribute__(a)