From 184cf30cf70d0efcba8cfb7c27f464dbc4a3edaf Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 16 Apr 2014 06:18:24 -0700 Subject: Use althrd_yield instead of alsched_yield --- Alc/compat.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'Alc/compat.h') diff --git a/Alc/compat.h b/Alc/compat.h index 9891412d..d5e0c7e9 100644 --- a/Alc/compat.h +++ b/Alc/compat.h @@ -18,9 +18,6 @@ typedef LONG althread_once_t; #define ALTHREAD_ONCE_INIT 0 void althread_once(althread_once_t *once, void (*callback)(void)); -inline int alsched_yield(void) -{ SwitchToThread(); return 0; } - WCHAR *strdupW(const WCHAR *str); /* Opens a file with standard I/O. The filename is expected to be UTF-8. */ @@ -45,8 +42,6 @@ void Sleep(ALuint t); #define ALTHREAD_ONCE_INIT PTHREAD_ONCE_INIT #define althread_once pthread_once -#define alsched_yield sched_yield - #define al_fopen(_n, _m) fopen((_n), (_m)) #if defined(HAVE_DLFCN_H) && !defined(IN_IDE_PARSER) -- cgit v1.2.3