aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/cpu_caps.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/cpu_caps.h
parentd3c4bab7bb0590a976bc70301d655638b7ec0f51 (diff)
Convert helpers.c to C++
Diffstat (limited to 'Alc/cpu_caps.h')
-rw-r--r--Alc/cpu_caps.h8
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 */