64-bit support

date	99.10.21.17.08.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 19:46:36 +00:00
parent 21269625ab
commit 854ee69336

View File

@ -122,11 +122,11 @@
*/ */
#ifndef LOWORD #ifndef LOWORD
#define LOWORD(l) ((UINT16)(UINT32)(l)) #define LOWORD(l) ((UINT16)(NATIVE_UINT)(l))
#endif #endif
#ifndef HIWORD #ifndef HIWORD
#define HIWORD(l) ((UINT16)((((UINT32)(l)) >> 16) & 0xFFFF)) #define HIWORD(l) ((UINT16)((((NATIVE_UINT)(l)) >> 16) & 0xFFFF))
#endif #endif
#ifndef LOBYTE #ifndef LOBYTE
@ -175,6 +175,13 @@
#define MOD_16(a) ((a)&0x0F) #define MOD_16(a) ((a)&0x0F)
#ifdef IA64
#define ALIGN64(bc) char Align[bc];
#else
#define ALIGN64(bc)
#endif
/* Assert macros */ /* Assert macros */
#ifdef DEBUG_ASSERT #ifdef DEBUG_ASSERT