mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 13:14:04 +00:00
Whitespace cleanup
This commit is contained in:
parent
cf0d358f1e
commit
2c773a0eb8
@ -159,8 +159,8 @@ sthread_t *sthread_create(void (*thread_func)(void*), void *userdata)
|
||||
bool thread_created = false;
|
||||
struct thread_data *data = NULL;
|
||||
sthread_t *thread = (sthread_t*)calloc(1, sizeof(*thread));
|
||||
#if defined(_WIN32_WINNT) && _WIN32_WINNT <= 0x0410
|
||||
DWORD thread_id = 0;
|
||||
#if defined(_WIN32_WINNT) && _WIN32_WINNT <= 0x0410
|
||||
DWORD thread_id = 0;
|
||||
#endif
|
||||
if (!thread)
|
||||
return NULL;
|
||||
@ -173,11 +173,11 @@ sthread_t *sthread_create(void (*thread_func)(void*), void *userdata)
|
||||
data->userdata = userdata;
|
||||
|
||||
#ifdef USE_WIN32_THREADS
|
||||
#if defined(_WIN32_WINNT) && _WIN32_WINNT <= 0x0410
|
||||
thread->thread = CreateThread(NULL, 0, thread_wrap, data, 0, &thread_id);
|
||||
#else
|
||||
thread->thread = CreateThread(NULL, 0, thread_wrap, data, 0, NULL);
|
||||
#endif
|
||||
#if defined(_WIN32_WINNT) && _WIN32_WINNT <= 0x0410
|
||||
thread->thread = CreateThread(NULL, 0, thread_wrap, data, 0, &thread_id);
|
||||
#else
|
||||
thread->thread = CreateThread(NULL, 0, thread_wrap, data, 0, NULL);
|
||||
#endif
|
||||
thread_created = !!thread->thread;
|
||||
#else
|
||||
#if defined(VITA)
|
||||
|
Loading…
x
Reference in New Issue
Block a user