From 5148a73a7bc8cc0cad1e157930c936c75e40da2e Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 27 Oct 2018 18:56:11 -0700 Subject: Add missing extern "C" --- OpenAL32/Include/sample_cvt.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'OpenAL32') diff --git a/OpenAL32/Include/sample_cvt.h b/OpenAL32/Include/sample_cvt.h index c041760e..a3b53d44 100644 --- a/OpenAL32/Include/sample_cvt.h +++ b/OpenAL32/Include/sample_cvt.h @@ -4,6 +4,10 @@ #include "AL/al.h" #include "alBuffer.h" +#ifdef __cplusplus +extern "C" { +#endif + extern const ALshort muLawDecompressionTable[256]; extern const ALshort aLawDecompressionTable[256]; @@ -12,4 +16,8 @@ void Convert_ALshort_ALima4(ALshort *dst, const ALubyte *src, ALsizei numchans, void Convert_ALshort_ALmsadpcm(ALshort *dst, const ALubyte *src, ALsizei numchans, ALsizei len, ALsizei align); +#ifdef __cplusplus +} // extern "C" +#endif + #endif /* SAMPLE_CVT_H */ -- cgit v1.2.3