Skip to content

Commit

Permalink
Land #983
Browse files Browse the repository at this point in the history
  • Loading branch information
botovq committed Dec 19, 2023
2 parents 2546ec7 + c515f24 commit cfda276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/compat/pthread.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ pthread_once(pthread_once_t *once, void (*cb) (void))
struct _pthread_win32_cb_arg arg = { .cb = cb };
BOOL rc = InitOnceExecuteOnce(&once->once, _pthread_once_win32_cb, &arg, NULL);
if (rc == 0)
return -1;
return EINVAL;
else
return 0;
}
Expand Down

0 comments on commit cfda276

Please sign in to comment.