[Lazarus] EpikTimer v1.0.1 released
Michael Van Canneyt
michael at freepascal.org
Fri Jun 6 11:21:39 CEST 2014
On Fri, 6 Jun 2014, Michael Schnell wrote:
> On 05/29/2014 12:39 AM, Graeme Geldenhuys wrote:
>>
>> https://github.com/graemeg/epiktimer/releases
>>
>
> Graeme,
>
> I am trying to base my future work on your git.
>
> Unfortunately this version of EpikTimer.pas does not compile on Linux:
> "clock_gettime()" is not found. (And the comment there says " Experimental,
> no idea if this works or is implemented correctly", so this is intentional.
>
> As this is exactly what I am going to use, do you suggest that I should
> fix/implement this ?
>
> I supposedly would do a very small separate unit/source file for this (and
> related) low level / potentially arch depending functions and finally try to
> have it integrated in the fpc RTL
>
> What do you think ?
Just add unit linux to the uses clause under {$IFDEF LINUX}.
clock_gettime is in there, not in the baseunix/unix.
Michael.
More information about the Lazarus
mailing list