Mercurial > sdl-ios-xcode
view src/video/fbcon/Makefile.am @ 1156:8521404a33c7
Date: Tue, 11 Oct 2005 16:58:12 +0300 (EEST)
From: =?ISO-8859-1?Q?Martin_Storsj=F6?= <martin@martin.st>
To: sdl@libsdl.org
Subject: [SDL] [PATCH] Use nanosleep on OS X
Hi,
The current version of SDL_Delay on OS X seems to always sleep at least 10
msec. OS X has nanosleep(), which performs shorter sleeps well. The
attached patch makes it use that one instead of select() as currently.
// Martin
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Tue, 11 Oct 2005 17:33:03 +0000 |
parents | 5d4bafca35cd |
children |
line wrap: on
line source
## Makefile.am for SDL using the framebuffer console video driver noinst_LTLIBRARIES = libvideo_fbcon.la libvideo_fbcon_la_SOURCES = $(FBCON_SRCS) # The SDL framebuffer console video driver sources FBCON_SRCS = \ SDL_fbkeys.h \ SDL_fbvideo.h \ SDL_fbelo.c \ SDL_fbelo.h \ SDL_fbevents.c \ SDL_fbevents_c.h \ SDL_fb3dfx.c \ SDL_fb3dfx.h \ SDL_fbmatrox.c \ SDL_fbmatrox.h \ SDL_fbmouse.c \ SDL_fbmouse_c.h \ SDL_fbriva.c \ SDL_fbriva.h \ SDL_fbvideo.c \ 3dfx_mmio.h \ 3dfx_regs.h \ matrox_mmio.h \ matrox_regs.h \ riva_mmio.h \ riva_regs.h