Changes since SDL 1.2.0 release

This commit is contained in:
Sam Lantinga
2001-04-26 16:50:19 +00:00
parent 5d2015c741
commit ffae27155e
40 changed files with 1225 additions and 105 deletions

View File

@@ -36,6 +36,10 @@ static char rcsid =
#include "SDL_timer.h"
#include "SDL_timer_c.h"
#if _POSIX_THREAD_SYSCALL_SOFT
#include <pthread.h>
#endif
#if defined(DISABLE_THREADS) || defined(FORK_HACK)
#define USE_ITIMER
#endif
@@ -96,6 +100,9 @@ void SDL_Delay (Uint32 ms)
do {
errno = 0;
#if _POSIX_THREAD_SYSCALL_SOFT
pthread_yield_np();
#endif
#ifdef USE_NANOSLEEP
tv.tv_sec = elapsed.tv_sec;
tv.tv_nsec = elapsed.tv_nsec;