From 1d45c439b83565699a1fc220dc7f34c9ceb11a7e Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 29 May 2014 04:22:30 -0700 Subject: Add extern "C" to common headers. --- include/uintmap.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/uintmap.h') diff --git a/include/uintmap.h b/include/uintmap.h index 611ed39b..2c4c5e7a 100644 --- a/include/uintmap.h +++ b/include/uintmap.h @@ -4,6 +4,10 @@ #include "AL/al.h" #include "rwlock.h" +#ifdef __cplusplus +extern "C" { +#endif + typedef struct UIntMap { struct { ALuint key; @@ -32,4 +36,8 @@ inline void LockUIntMapWrite(UIntMap *map) inline void UnlockUIntMapWrite(UIntMap *map) { WriteUnlock(&map->lock); } +#ifdef __cplusplus +} +#endif + #endif /* AL_UINTMAP_H */ -- cgit v1.2.3