aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/fpu_modes.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-11 14:56:25 -0800
committerChris Robinson <[email protected]>2018-11-11 14:56:25 -0800
commit58a71a1a00b2cbacd00679f9136233dae23a7ca7 (patch)
tree17c4a0fda8177eff4e469a7f6ef8f25eb3a1c3dc /Alc/fpu_modes.h
parentd3c4bab7bb0590a976bc70301d655638b7ec0f51 (diff)
Convert helpers.c to C++
Diffstat (limited to 'Alc/fpu_modes.h')
-rw-r--r--Alc/fpu_modes.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Alc/fpu_modes.h b/Alc/fpu_modes.h
index eb305967..e8858ad9 100644
--- a/Alc/fpu_modes.h
+++ b/Alc/fpu_modes.h
@@ -5,6 +5,9 @@
#include <fenv.h>
#endif
+#ifdef __cplusplus
+extern "C" {
+#endif
typedef struct FPUCtl {
#if defined(__GNUC__) && defined(HAVE_SSE)
@@ -31,4 +34,8 @@ void RestoreFPUMode(const FPUCtl *ctl);
#endif
#define LEAVE_MIXER_MODE() RestoreFPUMode(&_oldMode)
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
#endif /* FPU_MODES_H */