This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Define __gnu_linux__ and __gnu_hurd__


On Sat, Apr 13, 2002 at 12:24:25PM -0700, Mark Mitchell wrote:
> The FSF has asked us to define __gnu_linux__ (in addition to __linux__)
...
> Index: alpha/linux.h
> ! "-Dgnu_linux Dlinux -Dunix -Asystem=linux -D_LONGLONG -D__alpha__ " \

Did you really mean to pollute the user's namespace?  Shouldn't that be
"-D__gnu_linux__" (yes, I know the driver will turn -Dgnu_linux into a
million variations on the theme)  It seems a shame to introduce this new
symbol and not follow ANSI-C off the bat.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]