From: Jacek Caban <jacek@codeweavers.com> --- include/rtlsupportapi.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/rtlsupportapi.h b/include/rtlsupportapi.h index f74c19a4478..720170283ef 100644 --- a/include/rtlsupportapi.h +++ b/include/rtlsupportapi.h @@ -23,6 +23,10 @@ #include <apisetcconv.h> +#ifdef __cplusplus +extern "C" { +#endif + NTSYSAPI void WINAPI RtlCaptureContext(CONTEXT*); NTSYSAPI void WINAPI RtlCaptureContext2(CONTEXT*); NTSYSAPI USHORT WINAPI RtlCaptureStackBackTrace(ULONG,ULONG,void**,ULONG*); @@ -76,4 +80,8 @@ NTSYSAPI BOOLEAN WINAPI RtlIsEcCode(ULONG_PTR); #endif /* __i386__ */ +#ifdef __cplusplus +} +#endif + #endif /* _APISETRTLSUPPORT_ */ -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10100