diff --git a/performance.h b/performance.h index 01831faaed..4515dc1c65 100644 --- a/performance.h +++ b/performance.h @@ -21,6 +21,10 @@ #include "config.h" #endif +#ifdef __cplusplus +extern "C" { +#endif + #include "boolean.h" #include typedef unsigned long long rarch_perf_tick_t; @@ -94,5 +98,9 @@ void rarch_get_cpu_features(struct rarch_cpu_features *cpu); #endif +#ifdef __cplusplus +} +#endif + #endif