diff options
author | Chris Robinson <[email protected]> | 2018-11-11 14:56:25 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-11 14:56:25 -0800 |
commit | 58a71a1a00b2cbacd00679f9136233dae23a7ca7 (patch) | |
tree | 17c4a0fda8177eff4e469a7f6ef8f25eb3a1c3dc /Alc/cpu_caps.h | |
parent | d3c4bab7bb0590a976bc70301d655638b7ec0f51 (diff) |
Convert helpers.c to C++
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 */ |