getline() and getdelim() in /usr/include/sys/stdio.h

2006-01-28 Thread Vladimir Panov
Hi. cygwin-1.5.19 has introduced getline() and getdelim() in /usr/include/sys/stdio.h. Since they are GNU extensions, I think that they should be enclosed with #ifdef _GNU_SOURCE. ... #endif. Vlado -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports

Re: getline() and getdelim() in /usr/include/sys/stdio.h

2006-01-28 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Vladimir Panov on 1/28/2006 3:54 PM: Hi. cygwin-1.5.19 has introduced getline() and getdelim() in /usr/include/sys/stdio.h. Since they are GNU extensions, I think that they should be enclosed with #ifdef _GNU_SOURCE. ... #endif