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 not then how else should I include main in the charlie or oscar
case but not if both are undefined?

The problem comes from making some units shared between different
projects...


-- 
Bo Berglund
Developer in Sweden

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to