Quote Originally Posted by technomage

{$IFDEF LINUX} //linux
{$ENDIF}
Note that in general you want to use {$ifdef unix} for all Unix like platforms (FreeBSD, Mac OS X, Solaris , Linux).

Reserve linux for the real (relatively rare) linuxisms.

Also try to use system/sysutils variables as much as possible (e.g. dirseparator)