From 854ee693368f573f7a94eb68ddca359021053019 Mon Sep 17 00:00:00 2001 From: aystarik Date: Wed, 29 Jun 2005 19:46:36 +0000 Subject: [PATCH] 64-bit support date 99.10.21.17.08.00; author rmoore1; state Exp; --- source/include/acmacros.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/source/include/acmacros.h b/source/include/acmacros.h index 9581cf16e..4750bf39e 100644 --- a/source/include/acmacros.h +++ b/source/include/acmacros.h @@ -122,11 +122,11 @@ */ #ifndef LOWORD -#define LOWORD(l) ((UINT16)(UINT32)(l)) +#define LOWORD(l) ((UINT16)(NATIVE_UINT)(l)) #endif #ifndef HIWORD -#define HIWORD(l) ((UINT16)((((UINT32)(l)) >> 16) & 0xFFFF)) +#define HIWORD(l) ((UINT16)((((NATIVE_UINT)(l)) >> 16) & 0xFFFF)) #endif #ifndef LOBYTE @@ -175,6 +175,13 @@ #define MOD_16(a) ((a)&0x0F) + +#ifdef IA64 +#define ALIGN64(bc) char Align[bc]; +#else +#define ALIGN64(bc) +#endif + /* Assert macros */ #ifdef DEBUG_ASSERT