diff options
author | Chris Robinson <[email protected]> | 2018-03-09 17:24:03 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-03-09 17:24:03 -0800 |
commit | 30821e978b69fa017cbcd76e5ff25c62f16b1d2a (patch) | |
tree | 6c47c2d5f96d95c46de636a79cbb2e21fb39308f /Alc/backends | |
parent | c0e7a5b8b07132f39e7bf60371586d5d56984e14 (diff) |
Add extern "C" to some headers
Diffstat (limited to 'Alc/backends')
-rw-r--r-- | Alc/backends/base.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 */ |