[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:
Hervé Poussineau 2020-03-26 16:28:10 +01:00
parent 7eac585ebf
commit ff045b2dbe

View file

@ -247,7 +247,7 @@ RtlConvertUlongToLuid(
//
// This macro does nothing in user mode
//
#define RTL_PAGED_CODE NOP_FUNCTION
#define RTL_PAGED_CODE()
#endif