align macro

This commit is contained in:
Glenn Maynard
2005-01-02 22:54:12 +00:00
parent a8f8095d10
commit 30976b2217
+8
View File
@@ -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"