https://git.reactos.org/?p=reactos.git;a=commitdiff;h=32c875032ba8bcc22aa97…
commit 32c875032ba8bcc22aa97d80ce751b88b29d552e
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Sat Jan 27 16:07:17 2018 +0100
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Sat Jan 27 16:07:32 2018 +0100
[EVTLIB] Make the header C++ compatible.
---
sdk/lib/evtlib/evtlib.h | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/sdk/lib/evtlib/evtlib.h b/sdk/lib/evtlib/evtlib.h
index 66b7a0f64b..3853ce2954 100644
--- a/sdk/lib/evtlib/evtlib.h
+++ b/sdk/lib/evtlib/evtlib.h
@@ -14,6 +14,10 @@
#pragma once
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* PSDK/NDK Headers */
// #define WIN32_NO_STATUS
// #include <windef.h>
@@ -291,4 +295,7 @@ ElfGetFlags(
VOID PRINT_HEADER(PEVENTLOGHEADER Header);
#endif
+#ifdef __cplusplus
+}
+#endif
#endif /* __EVTLIB_H__ */