diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2024-12-13 07:13:00 +0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2024-12-14 19:29:12 +0800 |
commit | c8c35f8c0ffb81ac5e9117cceaf6cc8bc518e564 (patch) | |
tree | 36feef1b3caa82c149c07330fd506e0e4de34d20 /resolv/tst-resolv-binary.c | |
parent | 5e17b4c983748e7938aef90c90d417e1ca739e20 (diff) | |
download | glibc-c8c35f8c0ffb81ac5e9117cceaf6cc8bc518e564.zip glibc-c8c35f8c0ffb81ac5e9117cceaf6cc8bc518e564.tar.gz glibc-c8c35f8c0ffb81ac5e9117cceaf6cc8bc518e564.tar.bz2 |
regex.h: Avoid #elif __STDC_VERSION__
GCC 4.9 doesn't define __STDC_VERSION__ and issues an error:
In file included from ../include/regex.h:2:0,
from ../posix/re_comp.h:23,
from ../include/re_comp.h:1,
from /tmp/cih_test_7IKTRI.c:10:
../posix/regex.h:650:19: error: "__STDC_VERSION__" is not defined [-Werror=undef]
# elif 199901L <= __STDC_VERSION__ || defined restrict
^
Use "#else" instead.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'resolv/tst-resolv-binary.c')
0 files changed, 0 insertions, 0 deletions