projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7eac585
)
[NDK] Fix RTL_PAGED_CODE macro in user mode
author
Hervé Poussineau
<hpoussin@reactos.org>
Thu, 26 Mar 2020 15:28:10 +0000
(16:28 +0100)
committer
Hervé Poussineau
<hpoussin@reactos.org>
Thu, 26 Mar 2020 15:39:16 +0000
(16:39 +0100)
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.
sdk/include/ndk/rtlfuncs.h
patch
|
blob
|
history
diff --git
a/sdk/include/ndk/rtlfuncs.h
b/sdk/include/ndk/rtlfuncs.h
index
5b6f878
..
68f4374
100644
(file)
--- a/
sdk/include/ndk/rtlfuncs.h
+++ b/
sdk/include/ndk/rtlfuncs.h
@@
-247,7
+247,7
@@
RtlConvertUlongToLuid(
//
// This macro does nothing in user mode
//
-#define RTL_PAGED_CODE
NOP_FUNCTION
+#define RTL_PAGED_CODE
()
#endif