mirror of
https://github.com/reactos/reactos.git
synced 2024-10-06 17:35:07 +00:00
[PSDK]
- Fix a couple of FIXMEs : UNALIGNED and RESTRICTED_POINTER definitions svn path=/trunk/; revision=48102
This commit is contained in:
parent
faf61e4427
commit
715a75ef6b
|
@ -153,10 +153,25 @@
|
|||
|
||||
#endif /* __ANONYMOUS_DEFINED */
|
||||
|
||||
// FIXME
|
||||
#undef UNALIGNED
|
||||
#if defined(_M_MRX000) || defined(_M_ALPHA) || defined(_M_PPC) || defined(_M_IA64) || defined(_M_AMD64)
|
||||
#define ALIGNMENT_MACHINE
|
||||
#define UNALIGNED __unaligned
|
||||
#if defined(_WIN64)
|
||||
#define UNALIGNED64 __unaligned
|
||||
#else
|
||||
#define UNALIGNED64
|
||||
#endif
|
||||
#else
|
||||
#undef ALIGNMENT_MACHINE
|
||||
#define UNALIGNED
|
||||
#define UNALIGNED64
|
||||
#endif
|
||||
|
||||
#if defined(_M_MRX000) && !(defined(MIDL_PASS) || defined(RC_INVOKED)) && defined(ENABLE_RESTRICTED)
|
||||
#define RESTRICTED_POINTER __restrict
|
||||
#else
|
||||
#define RESTRICTED_POINTER
|
||||
#endif
|
||||
|
||||
|
||||
#define ARGUMENT_PRESENT(ArgumentPointer) \
|
||||
|
|
Loading…
Reference in a new issue