aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/compat.h
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/compat.h
parent20e5ec18e1e28b83ecaa588b87973be2cf295e74 (diff)
Rename althread_once to be more C11-like
Diffstat (limited to 'Alc/compat.h')
-rw-r--r--Alc/compat.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/Alc/compat.h b/Alc/compat.h
index 50516ce8..2765ef18 100644
--- a/Alc/compat.h
+++ b/Alc/compat.h
@@ -8,10 +8,6 @@
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
-typedef LONG althread_once_t;
-#define ALTHREAD_ONCE_INIT 0
-void althread_once(althread_once_t *once, void (*callback)(void));
-
WCHAR *strdupW(const WCHAR *str);
/* Opens a file with standard I/O. The filename is expected to be UTF-8. */
@@ -23,10 +19,6 @@ FILE *al_fopen(const char *fname, const char *mode);
#include <pthread.h>
-#define althread_once_t pthread_once_t
-#define ALTHREAD_ONCE_INIT PTHREAD_ONCE_INIT
-#define althread_once pthread_once
-
#define al_fopen(_n, _m) fopen((_n), (_m))
#if defined(HAVE_DLFCN_H) && !defined(IN_IDE_PARSER)