syntax updates

This commit is contained in:
Brent Cook 2018-03-14 12:58:48 -05:00
parent cfdaa1185f
commit 4799f0d9be

View File

@ -31,11 +31,10 @@ static BOOL CALLBACK _pthread_once_win32_cb(PINIT_ONCE once, PVOID param, PVOID
static int pthread_once(pthread_once_t *once, void (*cb) (void))
{
BOOL rc = InitOnceExecuteOnce(&once->once, _pthread_once_win32_cb, cb, NULL);
if (rc == 0) {
if (rc == 0)
return -1;
} else {
else
return 0;
}
}
#else