1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-12 17:30:50 +00:00
This commit is contained in:
mrdudz 2022-11-05 20:48:53 +01:00
parent e5777f7ccf
commit 5d1ad05cb8

View File

@ -46,7 +46,7 @@
#ifdef __clang__ #ifdef __clang__
# define attribute(a) __attribute__(a) # define attribute(a) __attribute__(a)
# define ATTR_UNUSED(x) # define ATTR_UNUSED(x) x
# define ATTR_NORETURN __attribute__((analyzer_noreturn)) # define ATTR_NORETURN __attribute__((analyzer_noreturn))
#elif defined(__GNUC__) #elif defined(__GNUC__)
# define attribute(a) __attribute__(a) # define attribute(a) __attribute__(a)
@ -54,7 +54,7 @@
# define ATTR_NORETURN __attribute__((noreturn)) # define ATTR_NORETURN __attribute__((noreturn))
#else #else
# define attribute(a) # define attribute(a)
# define ATTR_UNUSED(x) # define ATTR_UNUSED(x) x
# define ATTR_NORETURN # define ATTR_NORETURN
#endif #endif