4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-17 12:01:53 +08:00
Jon Turney c5fee55606 stdio.h: Use __POSIX_VISIBLE etc. guards for POSIX 1003.1:2001 functions
Current mesa expects stdio.h to prototype fileno() when compiling with gcc
-std=c99 -D_XOPEN_SOURCE

Fix the 'POSIX 1003.1:2001' block in stdio.h to prototype functions if not
__STRICT_ANSI__, or _BSD_SOURCE, _POSIX_C_SOURCE or _XOPEN_SOURCE are defined
appropriately

As far as I can tell, despite being in this block, setbuffer() and setlinebuf()
are BSDisms which aren't in POSIX 1003.1:2001

Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
2016-02-08 10:39:31 +01:00
..
2015-11-12 14:14:17 +01:00
2015-08-27 12:50:25 +02:00
2015-07-06 14:58:51 -05:00
2015-10-30 20:28:00 +01:00
2013-04-23 09:42:25 +00:00
2015-07-06 14:58:51 -05:00