From 4682deeb62247d34de87f8e777f99e2d337fd377 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 20 Oct 2024 15:21:43 +0200 Subject: New upstream version 1.3 --- tests/msvc-nothrow.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests/msvc-nothrow.h') diff --git a/tests/msvc-nothrow.h b/tests/msvc-nothrow.h index dc6dd35d..121773d1 100644 --- a/tests/msvc-nothrow.h +++ b/tests/msvc-nothrow.h @@ -35,6 +35,10 @@ /* Get original declaration of _get_osfhandle. */ # include +# ifdef __cplusplus +extern "C" { +# endif + # if HAVE_MSVC_INVALID_PARAMETER_HANDLER /* Override _get_osfhandle. */ @@ -43,6 +47,10 @@ extern intptr_t _gl_nothrow_get_osfhandle (int fd); # endif +# ifdef __cplusplus +} +# endif + #endif #endif /* _MSVC_NOTHROW_H */ -- cgit v1.2.3