pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/49782 (textproc/mdocml won't build on Solaris)



On May 28,  9:25pm, jperkin%pkgsrc.org@localhost (Jonathan Perkin) wrote:
-- Subject: Re: pkg/49782 (textproc/mdocml won't build on Solaris)

|  > I believe that __foo__ symbols are the new and preferred way, where
|  > __foo are historical...
|  
|  GCC defines both, but I believe Studio only defines __sun.
|  
|  Just use __sun, as we already do in the vast majority of patches.

Doing both is safer... There are many symbols where __foo__ is
defined and __foo is not. I can think of one important example
(__STDC__). Having a unified rule for all of them is less thinking
when you need to decide what to code.

christos


Home | Main Index | Thread Index | Old Index