[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <468287a8.spBb6PdAZ4QV0j2Y%Joerg.Schilling@fokus.fraunhofer.de>
Date: Wed, 27 Jun 2007 17:52:08 +0200
From: Joerg.Schilling@...us.fraunhofer.de (Joerg Schilling)
To: mrmacman_g4@....com, bunk@...sta.de
Cc: linux-kernel@...r.kernel.org, dwmw2@...radead.org, david@...g.hm
Subject: Re: Linux Kernel include files
Adrian Bunk <bunk@...sta.de> wrote:
> That's a good point I missed.
>
> What about:
>
> #if defined(__GNUC__) && __STDC_VERSION__ < 19901L
> __extension__ typedef signed long long __s64;
> __extension__ typedef unsigned long long __u64;
> #else
> typedef signed long long __s64;
> typedef unsigned long long __u64;
> #endif
What about using:
#if (defined(__GNUC__) || defined(__SUNPRO_C)) && !defined(__STRICT_ANSI__)
Well, there seems to be one other compiler (the one from Intel).
It may be that if this compiler does not claim to be GCC, another
definituion needs to be added.
J�rg
--
EMail:joerg@...ily.isdn.cs.tu-berlin.de (home) J�rg Schilling D-13353 Berlin
js@...tu-berlin.de (uni)
schilling@...us.fraunhofer.de (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists