[Lazarus] Lazarus version conditional define

Vincent Snijders vsnijders at vodafonevast.nl
Sun Oct 4 19:11:41 CEST 2009


Luiz Americo Pereira Camara schreef:
> I want to use a feature in a component that is present only in Lazarus 
> 0.9.29 but would like also to make it compilable with at least in 0.9.28.
> 
> Is there a define like LAZARUS_VER_XX so i can use?

See: http://lazarus-ccr.sourceforge.net/docs/lcl/lclversion/index.html

There is an example at: 
http://svn2.freepascal.org/svn/lazarus/trunk/examples/lclversion/

Vincent




More information about the Lazarus mailing list