diff options
Diffstat (limited to 'lib/fpucw.h')
-rw-r--r-- | lib/fpucw.h | 10 |
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 */ |