diff options
| author | H.J. Lu <hjl.tools@gmail.com> | 2024-12-13 05:56:05 +0800 |
|---|---|---|
| committer | H.J. Lu <hjl.tools@gmail.com> | 2024-12-14 19:30:16 +0800 |
| commit | ed377c952a673683507066506e4c88a7299a2447 (patch) | |
| tree | 6eef1fce70c5765116a15e4dcbff653ccbb40dab /include/bits | |
| parent | c8c35f8c0ffb81ac5e9117cceaf6cc8bc518e564 (diff) | |
| download | glibc-ed377c952a673683507066506e4c88a7299a2447.tar.xz glibc-ed377c952a673683507066506e4c88a7299a2447.zip | |
include/bits/sigstksz.h: Avoid #elif IS_IN (libsupport)
GCC 4.9 issues an error when generating misc/check-installed-headers-c.out:
In file included from ../signal/signal.h:328:0,
from ../include/signal.h:2,
from ../misc/sys/param.h:28,
from ../include/sys/param.h:1,
from /tmp/cih_test_e156ZB.c:10:
../include/bits/sigstksz.h:5:7: error: "IS_IN" is not defined [-Werror=undef]
#elif IS_IN (libsupport)
^
Use "#else" instead.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'include/bits')
| -rw-r--r-- | include/bits/sigstksz.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/bits/sigstksz.h b/include/bits/sigstksz.h index 2ca891e918..3b3525244c 100644 --- a/include/bits/sigstksz.h +++ b/include/bits/sigstksz.h @@ -2,6 +2,8 @@ glibc build. IS_IN can only be used when _ISOMAC isn't defined. */ #ifdef _ISOMAC # include_next <bits/sigstksz.h> -#elif IS_IN (libsupport) -# include_next <bits/sigstksz.h> +#else +# if IS_IN (libsupport) +# include_next <bits/sigstksz.h> +# endif #endif |
