* include/features.h: _POSIX_C_SOURCE >= 200112L implies C99.

This commit is contained in:
Ulrich Drepper 2009-04-25 08:30:00 +00:00
parent e971e76d8d
commit c163ee23e0
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,7 @@
2009-04-25 Ulrich Drepper <drepper@redhat.com>
* include/features.h: _POSIX_C_SOURCE >= 200112L implies C99.
* sysdeps/ieee754/k_standard.c (__kernel_standard): Pole errors
for lgamma should se errno to ERANGE, not EDOM.
* math/libm-test.inc (lgamma_test): Check errno for pole errors.

View File

@ -230,6 +230,8 @@
#if (_POSIX_C_SOURCE - 0) >= 200112L
# define __USE_XOPEN2K 1
# undef __USE_ISOC99
# define __USE_ISOC99 1
#endif
#if (_POSIX_C_SOURCE - 0) >= 200809L