Add optional suffix _generic to generic SDL_cond impl

Allows for runtime selectable implementation
This commit is contained in:
Joel Linn 2020-12-28 11:42:49 -08:00
parent 7539ac8087
commit 2443e51e0e
15 changed files with 205 additions and 15 deletions

View file

@ -212,6 +212,7 @@ typedef unsigned int uintptr_t;
/* Enable various threading systems */
#if (NTDDI_VERSION >= NTDDI_WINBLUE)
#define SDL_THREAD_GENERIC_COND_SUFFIX 1
#define SDL_THREAD_WINDOWS 1
#else
/* WinRT on Windows 8.0 and Windows Phone 8.0 don't support CreateThread() */