On 02/03/17 20:39, Bo Berglund wrote:
Can I use this to make a conditional compilation?
{$IFDEF charlie, oscar}
main,
{$ENDIF}
Where I want main to be included if one or both of charlie and oscar
are defined symbols.
So in effect the condition triggering main would be charlie OR oscar..
{$if defined(charlie) or defined(oscar)}
main,
{$endif}
Jonas
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal