src/thread/pthread/SDL_systhread.c
changeset 8879 f6e4f24df1ac
parent 8833 ae720d61d14d
child 9619 b94b6d0bff0f
     1.1 --- a/src/thread/pthread/SDL_systhread.c	Fri Jun 20 11:01:05 2014 -0300
     1.2 +++ b/src/thread/pthread/SDL_systhread.c	Fri Jun 20 11:10:16 2014 -0300
     1.3 @@ -57,11 +57,13 @@
     1.4  
     1.5  #include "SDL_assert.h"
     1.6  
     1.7 +#ifndef __NACL__
     1.8  /* List of signals to mask in the subthreads */
     1.9  static const int sig_list[] = {
    1.10      SIGHUP, SIGINT, SIGQUIT, SIGPIPE, SIGALRM, SIGTERM, SIGCHLD, SIGWINCH,
    1.11      SIGVTALRM, SIGPROF, 0
    1.12  };
    1.13 +#endif
    1.14  
    1.15  static void *
    1.16  RunThread(void *data)
    1.17 @@ -115,8 +117,10 @@
    1.18  void
    1.19  SDL_SYS_SetupThread(const char *name)
    1.20  {
    1.21 +#ifndef __NACL__
    1.22      int i;
    1.23      sigset_t mask;
    1.24 +#endif
    1.25  
    1.26      if (name != NULL) {
    1.27          #if defined(__MACOSX__) || defined(__IPHONEOS__) || defined(__LINUX__)