summaryrefslogtreecommitdiff
path: root/lib/fpucw.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2024-10-20 15:21:43 +0200
committerJörg Frings-Fürst <debian@jff.email>2024-10-20 15:21:43 +0200
commit4682deeb62247d34de87f8e777f99e2d337fd377 (patch)
tree5bd5b5605b5f3a4b3c8ea7468c34c23094afdef4 /lib/fpucw.h
parent00893e79fc62966067af1a106567db96bd170338 (diff)
New upstream version 1.3upstream/1.3upstream
Diffstat (limited to 'lib/fpucw.h')
-rw-r--r--lib/fpucw.h10
1 files changed, 10 insertions, 0 deletions
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 */