Author: Daniel Clausen
Date: 06:21:10 04/16/00
Go up one level in this thread
Hi On April 15, 2000 at 16:00:45, Gian-Carlo Pascutto wrote: >I've released a new version of my bughouse/crazyhouse/standard >chessprogram Sjeng. This time full sources are released under >the GPL license. I compiled it under MacOSX and had a problem with the constellation of HAVE_SYS_TIMEB and !HAVE_FTIME, which leads to compiler errors. What I did was to define HAVE_FTIME by hand and implement ftime in the following way: int ftime(struct timeb* tp) { struct timeval tmp; gettimeofday(&tmp, NULL); tp->time = tmp.tv_sec; tp->millitm = tmp.tv_usec / 1000; tp->timezone = 0; tp->dstflag = 0; } It seems to work fine. Thanks a lot to Gian-Carlo! Kind regards, -sargon
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.