From 1d7b0f54bee766d685ab74f0c206547431f4f636 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 28 Oct 2018 17:14:32 -0700 Subject: Add another missing extern "C" --- Alc/alconfig.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Alc/alconfig.h b/Alc/alconfig.h index 1e493e2e..cb8d8717 100644 --- a/Alc/alconfig.h +++ b/Alc/alconfig.h @@ -1,6 +1,10 @@ #ifndef ALCONFIG_H #define ALCONFIG_H +#ifdef __cplusplus +extern "C" { +#endif + void ReadALConfig(void); void FreeALConfig(void); @@ -14,4 +18,8 @@ int ConfigValueUInt(const char *devName, const char *blockName, const char *keyN int ConfigValueFloat(const char *devName, const char *blockName, const char *keyName, float *ret); int ConfigValueBool(const char *devName, const char *blockName, const char *keyName, int *ret); +#ifdef __cplusplus +} // extern "C" +#endif + #endif /* ALCONFIG_H */ -- cgit v1.2.3