michael.vancann...@wisa.be schrieb:

The call will not be merged. Instead, you can just add

 ReadTimezoneFile(GetTimezoneFile);
 GetLocalTimezone(fptime);

to your code (and add units 'unix' and 'baseunix').

What will happen if these are called on other platforms, which don't have timezone files?

IMO a function (UpdateTimeZone?) should be added, that encapsulates these POSIX specific calls and dependencies, for use on all platforms.

DoDi

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

Reply via email to