Page 1 of 1

Issue with uses Windows under Linux in the latest trunk

Posted: 13.04.2021, 23:27
by L_VV
Hello,

When compiling the last trunk of ZeosLib in FPC under Linux, an error has appeared:

Code: Select all

ZDbcFirebirdInterbase.pas(68,31) Fatal: Cannot find Windows used by ZDbcFirebirdInterbase of package zdbc.

unit ZDbcFirebirdInterbase:

As is in the latest trunk:

Code: Select all

{$IF not declared(INFINITE)}Windows,{$IFEND}//old delphi <= 2010 declared const INFINITE in windows unit
Possible fix:

Code: Select all

{$IF defined(MSWINDOWS) and not declared(INFINITE)}Windows,{$IFEND}//old delphi <= 2010 declared const INFINITE in windows unit

Re: Issue with uses Windows under Linux in the latest trunk

Posted: 14.04.2021, 06:39
by marsupilami
Thank you for reporting this. I think Egonhugeist has fixed the problem.