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] sparc-sun-solaris2.8 (cross) missing PATH_MAX


> I vaguely remember seeing this before, and I may have forgotten to
> work up a patch.  If you look in <limits.h> on sparc-sun-solaris2.8,
> the (only) definition of PATH_MAX is wrapped with the following guard,
> which is not active when compiling gmon-sol2.c.
>
> #if defined(__EXTENSIONS__) || __STDC__ - 0 == 0 || \
>         defined(_POSIX_C_SOURCE) || defined(_XOPEN_SOURCE)

Do you have access to sparc-sun-solaris2.8 native?  If so, could you try to 
investigate why we apparently don't have any problem there?

Thanks in advance.

-- 
Eric Botcazou


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