SDL_TICKS_PASSED(A, B)
/* 100ミリ秒待つならば, 次のようにすればよい: */ Uint32 timeout = SDL_GetTicks() + 100; while (!SDL_TICKS_PASSED(SDL_GetTicks(), timeout)) { /* ... ここで時間が経過するまでの処理を行う */ }