* Renamed ALIGN into ELK_ALIGN because OS X's <ppc/param.h> defines it.
git-svn-id: svn://svn.zoy.org/elk/trunk@197 55e467fa-43c5-0310-a8a2-de718669efc6
This commit is contained in:
+2
-2
@@ -46,9 +46,9 @@ extern_c Object elk_import False2;
|
||||
|
||||
/* Align heap addresses */
|
||||
#ifdef ALIGN_8BYTE
|
||||
# define ALIGN(ptr) ((ptr) = (void *)(((intptr_t)(ptr) + 7) & ~7))
|
||||
# define ELK_ALIGN(ptr) ((ptr) = (void *)(((intptr_t)(ptr) + 7) & ~7))
|
||||
#else
|
||||
# define ALIGN(ptr) ((ptr) = (void *)(((intptr_t)(ptr) + 3) & ~3))
|
||||
# define ELK_ALIGN(ptr) ((ptr) = (void *)(((intptr_t)(ptr) + 3) & ~3))
|
||||
#endif
|
||||
|
||||
/* Normalize stack addresses */
|
||||
|
||||
Reference in New Issue
Block a user