Complete.Org: Mailing Lists: Archives: freeciv-dev: October 1998:
Re: [Freeciv-Dev] compile failure of civserver.o (only), CLOCKS_PER_SEC
Home

Re: [Freeciv-Dev] compile failure of civserver.o (only), CLOCKS_PER_SEC

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Peter Magnusson <petmag-8@xxxxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: Re: [Freeciv-Dev] compile failure of civserver.o (only), CLOCKS_PER_SEC undeclared
From: schaefer@xxxxxxxxxxxxxxxxxxxxxxxxxxx (Peter Schaefer)
Date: Thu, 29 Oct 1998 12:18:35 +0100

On my system, this is defined in time.h
(/usr/include/time.h)
as #define CLOCKS_PER_SEC          1000000
can vary on your system.
you could probably put a
#ifdef CLOCKS_PER_SEC
(line where error occurs)
#endif
around it to comment it out(it's timing debug output).
If that doesn't work, you'll need to look at it more closely, I guess( i.e. more
 errors occur. ).
--
Peter Schaefer           mailto:schaefer@xxxxxxxxxxxxxxxxxxxxxxxxxxx     
X-Url: http://wwwhoppe.math.uni-augsburg.de/~schaefer/


[Prev in Thread] Current Thread [Next in Thread]