From 58a71a1a00b2cbacd00679f9136233dae23a7ca7 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 11 Nov 2018 14:56:25 -0800 Subject: Convert helpers.c to C++ --- Alc/fpu_modes.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Alc/fpu_modes.h') 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 #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 */ -- cgit v1.2.3