aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/compat.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-04-17 00:11:12 -0700
committerChris Robinson <[email protected]>2014-04-17 00:11:12 -0700
commitc3b1c31d9b530e64e84805435784ec53eb5ea745 (patch)
tree4d289aa82e96d6fbba5242889f755e02c3820420 /Alc/compat.h
parent8cc3d05949b9c2750a5460488cac58c82174e85c (diff)
Rename althread_key_ wrappers to altss_ and move it to threads.h/c
Diffstat (limited to 'Alc/compat.h')
-rw-r--r--Alc/compat.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/Alc/compat.h b/Alc/compat.h
index 7d577cb7..f11de462 100644
--- a/Alc/compat.h
+++ b/Alc/compat.h
@@ -8,12 +8,6 @@
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
-typedef DWORD althread_key_t;
-int althread_key_create(althread_key_t *key, void (*callback)(void*));
-int althread_key_delete(althread_key_t key);
-void *althread_getspecific(althread_key_t key);
-int althread_setspecific(althread_key_t key, void *val);
-
typedef LONG althread_once_t;
#define ALTHREAD_ONCE_INIT 0
void althread_once(althread_once_t *once, void (*callback)(void));
@@ -31,12 +25,6 @@ FILE *al_fopen(const char *fname, const char *mode);
ALuint timeGetTime(void);
-#define althread_key_t pthread_key_t
-#define althread_key_create pthread_key_create
-#define althread_key_delete pthread_key_delete
-#define althread_getspecific pthread_getspecific
-#define althread_setspecific pthread_setspecific
-
#define althread_once_t pthread_once_t
#define ALTHREAD_ONCE_INIT PTHREAD_ONCE_INIT
#define althread_once pthread_once