The OS X 10.4u SDK defines ALIGN(p) as (((unsigned int)(p) + ALIGNBYTES) &~ ALIGNBYTES) so use SM_ALIGN instead.

This commit is contained in:
Steve Checkoway
2006-01-15 12:55:00 +00:00
parent 2979d02878
commit afe2e0efd9
+2 -4
View File
@@ -127,12 +127,10 @@ void ShowWarning( const char *file, int line, const char *message ); // don't pu
#define CONST_FUNCTION
#endif
#if !defined(ALIGN)
#if defined(__GNUC__)
#define ALIGN(n) __attribute__((aligned(n)))
#define SM_ALIGN(n) __attribute__((aligned(n)))
#else
#define ALIGN(n)
#endif
#define SM_ALIGN(n)
#endif