This is the mail archive of the gcc@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: gcc-3.2 build problem in the java area


Tom Tromey writes:
 > >>>>> "Russ" == Russ Allbery <rra@stanford.edu> writes:
 > 
 > Russ> Solaris only defines MAXHOSTNAMELEN if:
 > Russ> #if !defined(_XPG4_2) || defined(__EXTENSIONS__)
 > 
 > Is there any drawback to simply always defining __EXTENSIONS__?
 > We could do that in include/posix.h.

But who might know what else __EXTENSIONS__ might do?  I suppose we
could "#ifdef __solaris" or somesuch.

It might be lees risky to "#ifdef __solaris .. #define MAXHOSTNAMELEN 256

Andrew.


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