Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed Haiku build
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jul 10, 2013
1 parent 9b37546 commit bd6696d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/thread/beos/SDL_systls.c
Expand Up @@ -92,9 +92,7 @@ SDL_TLSSet(SDL_TLSID id, const void *value)
for (i = oldlimit; i < newlimit; ++i) {
data->data[i] = NULL;
}
if (!tls_set(thread_local_storage, data)) {
return SDL_SetError("TlsSetValue() failed");
}
tls_set(thread_local_storage, data);
}

data->data[id-1] = SDL_const_cast(void*, value);
Expand Down

0 comments on commit bd6696d

Please sign in to comment.