Re: Cygwin 2.5 hides constant L_ctermid as XSI

2016-05-24 Thread Corinna Vinschen
On May 1 18:45, OKUMURA Yuki wrote: > Hi list, > > It seems the commit > https://cygwin.com/git/gitweb.cgi?p=newlib-cygwin.git;a=commit;h=feec81e5717f904b687f17ace727bfbadc597209 > made visibility between ctermid() and L_ctermid incoherent. > > While L_cuserid is XSI, L_ctermid is POSIX so check

Cygwin 2.5 hides constant L_ctermid as XSI

2016-05-01 Thread OKUMURA Yuki
Hi list, It seems the commit https://cygwin.com/git/gitweb.cgi?p=newlib-cygwin.git;a=commit;h=feec81e5717f904b687f17ace727bfbadc597209 made visibility between ctermid() and L_ctermid incoherent. While L_cuserid is XSI, L_ctermid is POSIX so checking against __XOPEN_VISIBLE is not required for it,