aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/alconfig.h')
-rw-r--r--Alc/alconfig.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Alc/alconfig.h b/Alc/alconfig.h
index cb8d8717..627ef48a 100644
--- a/Alc/alconfig.h
+++ b/Alc/alconfig.h
@@ -2,10 +2,13 @@
#define ALCONFIG_H
#ifdef __cplusplus
+#define NOEXCEPT noexcept
extern "C" {
+#else
+#define NOEXCEPT
#endif
-void ReadALConfig(void);
+void ReadALConfig(void) NOEXCEPT;
void FreeALConfig(void);
int ConfigValueExists(const char *devName, const char *blockName, const char *keyName);