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/backends/base.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Alc/backends') diff --git a/Alc/backends/base.h b/Alc/backends/base.h index b05523b2..6940a2a2 100644 --- a/Alc/backends/base.h +++ b/Alc/backends/base.h @@ -5,6 +5,10 @@ #include "threads.h" +#ifdef __cplusplus +extern "C" { +#endif + typedef struct ClockLatency { ALint64 ClockTime; ALint64 Latency; @@ -157,4 +161,8 @@ inline void ALCdevice_Lock(ALCdevice *device) inline void ALCdevice_Unlock(ALCdevice *device) { V0(device->Backend,unlock)(); } +#ifdef __cplusplus +} /* extern "C" */ +#endif + #endif /* AL_BACKENDS_BASE_H */ -- cgit v1.2.3