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 --- lib/fpucw.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lib/fpucw.h') diff --git a/lib/fpucw.h b/lib/fpucw.h index c7387a22..fdc53b81 100644 --- a/lib/fpucw.h +++ b/lib/fpucw.h @@ -61,6 +61,11 @@ 'long double' safe operation precision */ +#ifdef __cplusplus +extern "C" { +#endif + + /* Inline assembler like this works only with GNU C and clang. */ #if (defined __i386__ || defined __x86_64__) && (defined __GNUC__ || defined __clang__) @@ -105,4 +110,9 @@ typedef unsigned int fpucw_t; #endif + +#ifdef __cplusplus +} +#endif + #endif /* _FPUCW_H */ -- cgit v1.2.3