From 8d93b172ef6d1e6f51ec7f3b0ae555becddee73d Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Fri, 23 Dec 2005 07:34:38 +0000 Subject: [PATCH] Cleanup comment, flatten preprocessor directives. --- stepmania/src/global.h | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/stepmania/src/global.h b/stepmania/src/global.h index 62aac6042e..286b92555f 100644 --- a/stepmania/src/global.h +++ b/stepmania/src/global.h @@ -117,23 +117,20 @@ void ShowWarning( const char *file, int line, const char *message ); // don't pu #endif #if defined(__GNUC__) -/* - * Define a macro to tell the compiler that a function has printf() semantics, to - * aid warning output. - */ -# define PRINTF(a,b) __attribute__((format(__printf__,a,b))) -# define CONST_FUNCTION __attribute__((const)) +/* Define a macro to tell the compiler that a function has printf() semantics, to aid warning output. */ +#define PRINTF(a,b) __attribute__((format(__printf__,a,b))) +#define CONST_FUNCTION __attribute__((const)) #else -# define PRINTF(a,b) -# define CONST_FUNCTION +#define PRINTF(a,b) +#define CONST_FUNCTION #endif #if !defined(ALIGN) -# if defined(__GNUC__) -# define ALIGN(n) __attribute__((aligned(n))) -# else -# define ALIGN(n) -# endif +#if defined(__GNUC__) +#define ALIGN(n) __attribute__((aligned(n))) +#else +#define ALIGN(n) +#endif #endif