Michael Van Canneyt schrieb:

2. Placy a dummy routine which returns 'now' in sysutils.inc
{$IFNDEF FPC_HAS_NOWUTC}
function NowUTC : TDateTime;

begin
  Result:=Now;
end;
{$ENDIF}

IMO the dummy routine should return some error value, e.g. zero or NaN, that makes it clear to the user that something's wrong with that function. Else nobody will ever notice and update the implementation.

DoDi

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to