src/timer/unix/SDL_systimer.c
branchgsoc2008_nds
changeset 2669 e27bdcc80744
parent 1895 c121d94672cb
child 2859 99210400e8b9
equal deleted inserted replaced
2668:bb3241de289e 2669:e27bdcc80744
   135         tv.tv_sec = ms / 1000;
   135         tv.tv_sec = ms / 1000;
   136         tv.tv_usec = (ms % 1000) * 1000;
   136         tv.tv_usec = (ms % 1000) * 1000;
   137 
   137 
   138         was_error = select(0, NULL, NULL, NULL, &tv);
   138         was_error = select(0, NULL, NULL, NULL, &tv);
   139 #endif /* HAVE_NANOSLEEP */
   139 #endif /* HAVE_NANOSLEEP */
   140     }
   140     } while (was_error && (errno == EINTR));
   141     while (was_error && (errno == EINTR));
       
   142 #endif /* SDL_THREAD_PTH */
   141 #endif /* SDL_THREAD_PTH */
   143 }
   142 }
   144 
   143 
   145 #ifdef USE_ITIMER
   144 #ifdef USE_ITIMER
   146 
   145