mirror of
https://github.com/reactos/reactos.git
synced 2025-06-11 04:47:22 +00:00
[WIN32K]
Fix amd64 build svn path=/trunk/; revision=53338
This commit is contained in:
parent
d34a623b35
commit
ea4dc61d38
3 changed files with 10 additions and 1 deletions
|
@ -480,7 +480,9 @@ Win32kInitWin32Thread(PETHREAD Thread)
|
|||
return(STATUS_SUCCESS);
|
||||
}
|
||||
|
||||
#ifdef _M_IX86
|
||||
C_ASSERT(sizeof(SERVERINFO) <= PAGE_SIZE);
|
||||
#endif
|
||||
|
||||
// Return on failure
|
||||
#define NT_ROF(x) \
|
||||
|
|
|
@ -19,10 +19,17 @@ PSURFACE psurfDefaultBitmap = NULL;
|
|||
PBRUSH pbrDefaultBrush = NULL;
|
||||
|
||||
// FIXME: these should go to floatobj.h or something
|
||||
#ifdef _M_IX86
|
||||
#define FLOATOBJ_0 {0x00000000, 0x00000000}
|
||||
#define FLOATOBJ_1 {0x40000000, 0x00000002}
|
||||
#define FLOATOBJ_16 {0x40000000, 0x00000006}
|
||||
#define FLOATOBJ_1_16 {0x40000000, 0xfffffffe}
|
||||
#else
|
||||
#define FLOATOBJ_0 0.
|
||||
#define FLOATOBJ_1 1.
|
||||
#define FLOATOBJ_16 16.
|
||||
#define FLOATOBJ_1_16 (1./16.)
|
||||
#endif
|
||||
|
||||
static const FLOATOBJ gef0 = FLOATOBJ_0;
|
||||
static const FLOATOBJ gef1 = FLOATOBJ_1;
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
|
||||
#define MmMapViewInSessionSpace MmMapViewInSystemSpace
|
||||
|
||||
#ifdef _M_IX86
|
||||
#if defined(_M_IX86) || defined(_M_AMD64)
|
||||
#define InterlockedOr16 _InterlockedOr16
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue