From 3efd600dec56dadb0dfc2251a8bdc3822daab538 Mon Sep 17 00:00:00 2001 From: Themaister Date: Fri, 8 Feb 2013 12:05:22 +0100 Subject: [PATCH] Fix CXX_BUILD. --- performance.h | 8 ++++++++ 1 file changed, 8 insertions(+) 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