Mercurial > sdl-ios-xcode
view include/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 | 22dbf364c017 |
children | 450721ad5436 |
line wrap: on
line source
# The input Makefile for SDL header files # The directory where the include files will be installed libSDLincludedir = $(includedir)/SDL # Which header files to install libSDLinclude_HEADERS = \ SDL.h \ SDL_active.h \ SDL_audio.h \ SDL_byteorder.h \ SDL_cdrom.h \ SDL_copying.h \ SDL_cpuinfo.h \ SDL_endian.h \ SDL_error.h \ SDL_events.h \ SDL_getenv.h \ SDL_joystick.h \ SDL_keyboard.h \ SDL_keysym.h \ SDL_loadso.h \ SDL_main.h \ SDL_mouse.h \ SDL_mutex.h \ SDL_name.h \ SDL_opengl.h \ SDL_quit.h \ SDL_rwops.h \ SDL_syswm.h \ SDL_thread.h \ SDL_timer.h \ SDL_types.h \ SDL_version.h \ SDL_video.h \ begin_code.h \ close_code.h