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/compat.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Alc/compat.h') diff --git a/Alc/compat.h b/Alc/compat.h index 6cf2d0d2..093184c8 100644 --- a/Alc/compat.h +++ b/Alc/compat.h @@ -3,6 +3,10 @@ #include "alstring.h" +#ifdef __cplusplus +extern "C" { +#endif + #ifdef _WIN32 #define WIN32_LEAN_AND_MEAN @@ -54,4 +58,8 @@ void *GetSymbol(void *handle, const char *name); void *Android_GetJNIEnv(void); #endif +#ifdef __cplusplus +} /* extern "C" */ +#endif + #endif /* AL_COMPAT_H */ -- cgit v1.2.3