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:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user