mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 14:34:57 +08:00
[NDK] Fix RTL_PAGED_CODE macro in user mode
NOP_FUNCTION is defined to "(void)0". Calling : RTL_PAGED_CODE(); in user mode was changed to: (void)0(); As "0" is not callable, this was leading to a compilation error.
This commit is contained in:
@@ -247,7 +247,7 @@ RtlConvertUlongToLuid(
|
||||
//
|
||||
// This macro does nothing in user mode
|
||||
//
|
||||
#define RTL_PAGED_CODE NOP_FUNCTION
|
||||
#define RTL_PAGED_CODE()
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user