Hi everybody,
I'm trying to make an application that need to be FHS compliant. For that I
want be abble to pass some strings as compile time parameters (eg. the famous
$PREFIX). I tryed this :
// installation paths defines
{$if undefined(PREFIX)}
{$DEFINE PREFIX:='/usr/local'}
{$endif}
Turn macros on
http://www.freepascal.org/docs-html/prog/progse4.html
Stephano
On 11/05/13 15:14, Geoffray Levasseur-Brandin wrote:
Hi everybody,
I'm trying to make an application that need to be FHS compliant. For that I
want be abble to pass some strings as compile time parameters (eg. the
On 11/05/13 15:31, patspiper wrote:
Turn macros on
http://www.freepascal.org/docs-html/prog/progse4.html
and use not defined instead of undefined
Stephano
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org