[fpc-devel] NowUTC in the RTL

Michael Van Canneyt michael at freepascal.org
Fri Dec 9 16:25:41 CET 2011



On Fri, 9 Dec 2011, Helmut Hartl wrote:

>
>> Well, if OS-X does not have it, we can't really say it is POSIX for our 
>> purposes, so then it goes to the linux unit. It's as simple as that.
>> 
> Only if you discriminate BSD  systems :-) - Many professional vendors use 
> some sort of BSD in their products,
> and some fpc.
>
> Freebsd, Netbsd, Openbsd, and Linux  has it.
> For OSX there is a substitution: 
> http://stackoverflow.com/questions/5167269/clock-gettime-alternative-in-mac-os-x

Well, you'll have to convince Marco. 
But I think it's that time of the month, when he's hard to convince, just for the fun of discussion :)

But till you do convince him, I'll put it in the linux unit, 
and Marco can put it in a *BSD specific unit.

That's what these units are for.

Michael.



More information about the fpc-devel mailing list