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