summaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-04-17 09:03:57 -0700
committerChris Robinson <[email protected]>2014-04-17 09:03:57 -0700
commitd1f1a1d056b654bbe52c0b1ba6752b7a106482e1 (patch)
treee549f65f02cc97be3f42e9165a3407d9fcbc5abe /OpenAL32
parent47f5c436c8f5e55ebafd72dcd155b2a762bb18ca (diff)
Make and use a C11-like altimespec_get wrapper function
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/threads.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenAL32/Include/threads.h b/OpenAL32/Include/threads.h
index 0c9601c9..e021f7a5 100644
--- a/OpenAL32/Include/threads.h
+++ b/OpenAL32/Include/threads.h
@@ -18,11 +18,13 @@ enum {
almtx_timed = 2
};
-
typedef int (*althrd_start_t)(void*);
typedef void (*altss_dtor_t)(void*);
+#define AL_TIME_UTC 1
+
+
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
@@ -208,6 +210,8 @@ int almtx_timedlock(almtx_t *mtx, const struct timespec *ts);
int altss_create(altss_t *tss_id, altss_dtor_t callback);
void altss_delete(altss_t tss_id);
+int altimespec_get(struct timespec *ts, int base);
+
void SetThreadName(const char *name);