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>
This commit is contained in:
H.J. Lu 2024-12-13 05:56:05 +08:00
parent c8c35f8c0f
commit ed377c952a
1 changed files with 4 additions and 2 deletions

View File

@ -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