Fixed Haiku build
authorSam Lantinga <slouken@libsdl.org>
Wed, 10 Jul 2013 02:37:57 -0700
changeset 73927e32fcb41b44
parent 7391 a29895dc5e9a
child 7393 358696c354a8
Fixed Haiku build
src/thread/beos/SDL_systls.c
     1.1 --- a/src/thread/beos/SDL_systls.c	Wed Jul 10 02:32:04 2013 -0700
     1.2 +++ b/src/thread/beos/SDL_systls.c	Wed Jul 10 02:37:57 2013 -0700
     1.3 @@ -92,9 +92,7 @@
     1.4          for (i = oldlimit; i < newlimit; ++i) {
     1.5              data->data[i] = NULL;
     1.6          }
     1.7 -        if (!tls_set(thread_local_storage, data)) {
     1.8 -            return SDL_SetError("TlsSetValue() failed");
     1.9 -        }
    1.10 +        tls_set(thread_local_storage, data);
    1.11      }
    1.12  
    1.13      data->data[id-1] = SDL_const_cast(void*, value);