[3265] in testers
8.1 Kerberos header files break under IRIX cc
daemon@ATHENA.MIT.EDU (bert)
Thu Jun 19 12:21:09 1997
To: testers@MIT.EDU
From: bert <bert@MIT.EDU>
Date: Thu, 19 Jun 1997 12:20:54 EDT
/usr/athena/include/osconf.h, which is indirectly included by krb.h,
determines if the current platform is SGI by looking for the CPP
symbol "sgi". Unfortunately, while GCC defines "sgi", the cc on the
system packs only defines "__sgi__". This causes MSBFIRST to be
undefined when it should be defined, which in turn causes the compile
to bomb out on "Error: byte order not defined." in
/afs/athena/include/conf.h .
Having to define "sgi" manually is annoying.
Could the check for "sgi" be replaced with "__sgi__"?
--bert