"Garrett D'Amore" <garrett_damore at tadpole.com> wrote:
> Huh? sys/isa_defs.h should come in via sys/types.h. If you're not
> getting sys/types.h, then all bets are off.
>
> isa_defs.h gets the _LP64 by looking at __amd64 or __sparcv9. You could
> use the same tests, but I would discourage you from doing so.
Why?
If you like to write portable software you need to depend on this.
I have a similar problem in the schily makefilesystem. The first
include file must be <schily/mconfig.h> and this needs to include
platform specific include files _before_ including any of the system include
files (if in "static" compile mode like with the makefiles from ON).
J?rg
--
EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin
js at cs.tu-berlin.de (uni)
schilling at fokus.fraunhofer.de (work) Blog:
http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily