Subversion Repositories eduke32

Rev

Rev 5174 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5174 Rev 5197
Line 32... Line 32...
32
#endif
32
#endif
33
33
34
#define UNREFERENCED_PARAMETER(x) x = x
34
#define UNREFERENCED_PARAMETER(x) x = x
35
#endif
35
#endif
36
36
-
 
37
#ifdef __GNUC__
-
 
38
# define UNUSED(x) UNUSED_ ## x __attribute__((unused))
-
 
39
# define PRINTF_FORMAT(stringindex, firstargindex) __attribute__((format (printf, stringindex, firstargindex)))
-
 
40
#else
-
 
41
# define UNUSED(x) x
-
 
42
# define PRINTF_FORMAT(stringindex, firstargindex)
-
 
43
#endif
-
 
44
37
#if defined __GNUC__ || defined __clang__
45
#if defined __GNUC__ || defined __clang__
38
# define ATTRIBUTE(attrlist) __attribute__(attrlist)
46
# define ATTRIBUTE(attrlist) __attribute__(attrlist)
39
#else
47
#else
40
# define ATTRIBUTE(attrlist)
48
# define ATTRIBUTE(attrlist)
41
#endif
49
#endif