[Lazarus] Conditional code based on Lazarus/LCL version

Denis Kozlov dezlov at gmail.com
Thu Sep 22 22:30:51 CEST 2016


Hi,

Is there something like FPC_VERSION define but for Lazarus or LCL, e.g. 
LAZARUS_VERSION?

I need a way of programmatically determining which version of Lazarus or 
LCL is/was used to compile the program, preferably at compile time, but 
at run time could also be useful.

P.S. Most of mailing list emails still don't arrive to gmail account, 
I'll keep monitoring list archive.

Thanks,
Denis


More information about the Lazarus mailing list