https://git.reactos.org/?p=reactos.git;a=commitdiff;h=5466fc13a3b5f5211e352e7e4c5121236bf91cd7

commit 5466fc13a3b5f5211e352e7e4c5121236bf91cd7
Author:     Jérôme Gardou <jerome.gar...@reactos.org>
AuthorDate: Fri Mar 26 10:08:26 2021 +0100
Commit:     Jérôme Gardou <zefk...@users.noreply.github.com>
CommitDate: Tue May 4 12:02:41 2021 +0200

    [NDK] Make kefuncs.h C++ aware
---
 sdk/include/ndk/kefuncs.h | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/sdk/include/ndk/kefuncs.h b/sdk/include/ndk/kefuncs.h
index 323f9df6455..0d53714e63f 100644
--- a/sdk/include/ndk/kefuncs.h
+++ b/sdk/include/ndk/kefuncs.h
@@ -26,6 +26,11 @@ Author:
 #include <ketypes.h>
 #include <section_attribs.h>
 
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
 #ifndef NTOS_MODE_USER
 
 //
@@ -782,3 +787,7 @@ ZwYieldExecution(
     VOID
 );
 #endif
+
+#ifdef __cplusplus
+} // extern "C"
+#endif

Reply via email to