|
@@ -179,8 +179,10 @@ const
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
|
|
- {$ifdef OLD_ASSEMBLER}
|
|
|
|
- {$define DISABLE_PIC_IN_EXP_REAL}
|
|
|
|
|
|
+ {$if not defined(FPC_PIC) or defined(OLD_ASSEMBLER)}
|
|
|
|
+ {$ifndef OPENBSD}
|
|
|
|
+ {$define DISABLE_PIC_IN_EXP_REAL}
|
|
|
|
+ {$endif ndef OPENBSD}
|
|
{$endif}
|
|
{$endif}
|
|
{$define FPC_SYSTEM_HAS_EXP}
|
|
{$define FPC_SYSTEM_HAS_EXP}
|
|
{ exp function adapted from AMath library (C) Copyright 2009-2013 Wolfgang Ehrhardt
|
|
{ exp function adapted from AMath library (C) Copyright 2009-2013 Wolfgang Ehrhardt
|