From 30821e978b69fa017cbcd76e5ff25c62f16b1d2a Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 9 Mar 2018 17:24:03 -0800 Subject: Add extern "C" to some headers --- Alc/logging.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Alc/logging.h') diff --git a/Alc/logging.h b/Alc/logging.h index 18093b75..785771c8 100644 --- a/Alc/logging.h +++ b/Alc/logging.h @@ -10,6 +10,10 @@ #define DECL_FORMAT(x, y, z) #endif +#ifdef __cplusplus +extern "C" { +#endif + extern FILE *LogFile; #if defined(__GNUC__) && !defined(_WIN32) @@ -58,4 +62,8 @@ extern enum LogLevel LogLevel; LOG_ANDROID(ANDROID_LOG_ERROR, __VA_ARGS__); \ } while(0) +#ifdef __cplusplus +} /* extern "C" */ +#endif + #endif /* LOGGING_H */ -- cgit v1.2.3