[Lazarus] Rev 28494 breaks building lazarus on non-windows (Martin?).

Michael Van Canneyt michael at freepascal.org
Fri Nov 26 12:29:33 CET 2010



On Fri, 26 Nov 2010, Felipe Monteiro de Carvalho wrote:

> On Fri, Nov 26, 2010 at 12:00 PM, Martin <lazarus at mfriebe.de> wrote:
>> Is there any similar thing on linux?Now() can go backwards (gettickcount
>> wraps, but that can be detected)
>
> The usual solution is using EpikTimer

That would add another (and IMHO unwanted) dependency to the IDE.

You should use fpgettimeofday() on unixes, it comes closest.

And if you can detect wrapping, you can also detect going backwards, 
unless I'm very much mistaken :)

Michael.




More information about the Lazarus mailing list