Mercurial > sdl-ios-xcode
view test/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 | 68f2b997758e |
children |
line wrap: on
line source
AUTOMAKE_OPTIONS = no-dependencies noinst_PROGRAMS = \ testver testtypes testendian testcpuinfo \ testhread testlock testerror testsem testtimer \ loopwave testcdrom testkeys testvidinfo checkkeys testwin graywin \ testsprite testbitmap testalpha testgamma testpalette testwm \ threadwin testoverlay testoverlay2 testgl testdyngl testjoystick \ testblitspeed testalpha_SOURCES = testalpha.c testalpha_LDADD = @MATHLIB@ testgamma_SOURCES = testgamma.c testgamma_LDADD = @MATHLIB@ testpalette_SOURCES = testpalette.c testpalette_LDADD = @MATHLIB@ testgl_SOURCES = testgl.c testgl_LDADD = @GL_LIBS@ @MATHLIB@