diff --git a/stepmania/src/global.h b/stepmania/src/global.h index 7e0a61b3ea..5ac1fd7b5f 100644 --- a/stepmania/src/global.h +++ b/stepmania/src/global.h @@ -120,6 +120,14 @@ void NORETURN sm_crash( const char *reason = "Internal error" ); #define PRINTF(a,b) #endif +#if !defined(ALIGN) +#if defined(__GNUC__) +#define ALIGN(n) __attribute__((aligned(n))) +#else +#define ALIGN(n) +#endif +#endif + /* Use CStdString: */ #include "StdString.h"