[Tuxnes-devel] CVS commit log for Tuxnes
Brought to you by:
tmmm
From: Mike M. <ch...@us...> - 2004-03-16 01:02:05
|
Update of /cvsroot/tuxnes/tuxnes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20993 Modified Files: configure.ac emulator_c.h renderer.h renderer_util.c types.h Log Message: gettimeofday() is not present on all systems. (One such system is win32.) When it's not present we should be able to use ftime(). This is an obsolete POSIX function. (It doesn't matter that it's obsolete, since we're doing a configure check for it.) This patch makes the change. After the change we can no longer use the timeval struct; we have to track seconds and useconds manually. It would probably be quite a bit easier to do this in one variable by tracking the seconds as a double. This may not be perfectly accurate, but is probably more accurate than what we do now (which is itself very accurate). "Jason Dorje Short" |