Mercurial > sdl-ios-xcode
view src/hermes/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 | dac996d69abb |
children |
line wrap: on
line source
########################################################################### # # Some consistent rules for building asm files: STRIP_FPIC = sh $(top_srcdir)/strip_fPIC.sh SUFFIXES = .asm .asm.lo: $(LIBTOOL) --tag=CC --mode=compile $(STRIP_FPIC) $(NASM) @NASMFLAGS@ $< -o $*.o ########################################################################### # The hermes library target noinst_LTLIBRARIES = libhermes.la libhermes_la_SOURCES = $(PORTABLE_SRCS) am_libhermes_la_OBJECTS = \ mmx_main.lo \ mmxp2_32.lo \ x86_main.lo \ x86p_16.lo \ x86p_32.lo # The hermes library sources PORTABLE_SRCS = \ mmx_main.asm \ mmxp2_32.asm \ x86_main.asm \ x86p_16.asm \ x86p_32.asm \ \ HeadMMX.h \ HeadX86.h EXTRA_DIST = \ COPYING.LIB \ README