aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-04-17 21:39:51 -0700
committerChris Robinson <[email protected]>2014-04-17 21:39:51 -0700
commit6c8bf9ec42b74635e05241a769f70ea5572a335c (patch)
tree462829a2c824adb0a6cd5de39f539c6cb16fbfec /Alc/ALc.c
parent20e5ec18e1e28b83ecaa588b87973be2cf295e74 (diff)
Rename althread_once to be more C11-like
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index e52f938f..82316846 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -737,7 +737,7 @@ enum LogLevel LogLevel = LogError;
static ALCboolean TrapALCError = ALC_FALSE;
/* One-time configuration init control */
-static althread_once_t alc_config_once = ALTHREAD_ONCE_INIT;
+static alonce_flag alc_config_once = AL_ONCE_INIT;
/* Default effect that applies to sources that don't have an effect on send 0 */
static ALeffect DefaultEffect;
@@ -1139,7 +1139,7 @@ static void alc_initconfig(void)
if((str && str[0]) || ConfigValueStr(NULL, "default-reverb", &str))
LoadReverbPreset(str, &DefaultEffect);
}
-#define DO_INITCONFIG() althread_once(&alc_config_once, alc_initconfig)
+#define DO_INITCONFIG() alcall_once(&alc_config_once, alc_initconfig)
/************************************************