summaryrefslogtreecommitdiffstats
path: root/libgloss/testsuite
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2016-02-04 17:07:44 +0000
committerCorinna Vinschen <corinna@vinschen.de>2016-02-08 10:39:31 +0100
commitc5fee55606ef77b1ec665e2903848cc9c504297c (patch)
treefd972d276cd6662e4d147705e0871be1255f8f5b /libgloss/testsuite
parent352cdbb0125fafdf61977bfa299a7214ac885838 (diff)
downloadcygnal-c5fee55606ef77b1ec665e2903848cc9c504297c.tar.gz
cygnal-c5fee55606ef77b1ec665e2903848cc9c504297c.tar.bz2
cygnal-c5fee55606ef77b1ec665e2903848cc9c504297c.zip
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>
Diffstat (limited to 'libgloss/testsuite')
0 files changed, 0 insertions, 0 deletions