* 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:
sam
2003-09-26 15:02:53 +00:00
parent 5b1cb65202
commit c72bef9733
4 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -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 */