[fpc-devel] the libc unit on 64-bit systems

Graeme Geldenhuys graemeg.lists at gmail.com
Fri Feb 1 10:06:40 CET 2008


On 31/01/2008, Daniël Mantione <daniel.mantione at freepascal.org> wrote:
>
> > If so, how can I IFDEF code that needs to run on Linux (32 & 64 bit)
>
> {$if defined(linux) and defined(i386)}
>

Just to let you know Daniël, that doesn't work for Linux 32-bit
systems, but the idea is correct. It should read.

{$if defined(linux) and defined(cpu386)}

Thanks again...


Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/



More information about the fpc-devel mailing list