diff options
Diffstat (limited to 'Alc/cpu_caps.h')
-rw-r--r-- | Alc/cpu_caps.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Alc/cpu_caps.h b/Alc/cpu_caps.h index 328d470e..1d867f37 100644 --- a/Alc/cpu_caps.h +++ b/Alc/cpu_caps.h @@ -1,6 +1,10 @@ #ifndef CPU_CAPS_H #define CPU_CAPS_H +#ifdef __cplusplus +extern "C" { +#endif + extern int CPUCapFlags; enum { CPU_CAP_SSE = 1<<0, @@ -12,4 +16,8 @@ enum { void FillCPUCaps(int capfilter); +#ifdef __cplusplus +} // extern "C" +#endif + #endif /* CPU_CAPS_H */ |