Issue with uses Windows under Linux in the latest trunk

The offical for ZeosLib 7.3 Report problems, ask for help, post proposals for the new version of Zeoslib 7.3/v8
Quick Info:
-We made two new drivers: odbc(raw and unicode version) and oledb
-GUID domain/field-defined support for FB
-extended error infos of Firebird
-performance ups are still in queue
In future some more feature will arrive, so stay tuned and don't hassitate to help
Post Reply
L_VV
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: 30.03.2021, 18:42

Issue with uses Windows under Linux in the latest trunk

Post 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
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1918
Joined: 17.01.2011, 14:17

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

Post by marsupilami »

Thank you for reporting this. I think Egonhugeist has fixed the problem.
Post Reply