On 2015-10-13 14:30, Marco van de Voort wrote: > > http://docwiki.embarcadero.com/RADStudio/Seattle/en/Declarations_and_Statements >
To follow on from your quotes.... "The platform and library directives do not specify which platform or library. If your goal is writing platform-independent code, you do not need to know which platform a symbol is specific to; it is sufficient that the symbol be marked as specific to some platform to let you know it may cause problems for your goal of portability." I guess with the above description IFDEF's will most likely be the better option in real-world code. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal