aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/threads.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-04-18 02:21:58 -0700
committerChris Robinson <[email protected]>2014-04-18 02:21:58 -0700
commit1353cb0d883f5b0f3c6f7170f3637425d0a6fc5c (patch)
treef0d7ff32320c346e19e77c7f183a510def687b08 /OpenAL32/Include/threads.h
parent579e7c10c22424e99c1a91696fd8632758c169b4 (diff)
Rename AL_ONCE_INIT to AL_ONCE_FLAG_INIT
Diffstat (limited to 'OpenAL32/Include/threads.h')
-rw-r--r--OpenAL32/Include/threads.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/Include/threads.h b/OpenAL32/Include/threads.h
index 07d5ef79..3b9f8654 100644
--- a/OpenAL32/Include/threads.h
+++ b/OpenAL32/Include/threads.h
@@ -42,7 +42,7 @@ typedef CRITICAL_SECTION almtx_t;
typedef DWORD altss_t;
typedef LONG alonce_flag;
-#define AL_ONCE_INIT 0
+#define AL_ONCE_FLAG_INIT 0
int althrd_sleep(const struct timespec *ts, struct timespec *rem);
void alcall_once(alonce_flag *once, void (*callback)(void));
@@ -116,7 +116,7 @@ typedef pthread_mutex_t almtx_t;
typedef pthread_key_t altss_t;
typedef pthread_once_t alonce_flag;
-#define AL_ONCE_INIT PTHREAD_ONCE_INIT
+#define AL_ONCE_FLAG_INIT PTHREAD_ONCE_INIT
inline althrd_t althrd_current(void)