Use IS_IN internally only
This change is only useful for the conformance tests since the headers changed are not installed. The conformance tests fail due to IS_IN not being defined, so wrap it with a check to make sure that _ISOMAC is defined. * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is defined. * include/mqueue.h: Likewise. * include/stdlib.h: Likewise.
This commit is contained in:
parent
4f41c682f3
commit
7a9ebfa159
|
@ -1,5 +1,10 @@
|
||||||
2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
|
2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
|
||||||
|
|
||||||
|
* include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
|
||||||
|
defined.
|
||||||
|
* include/mqueue.h: Likewise.
|
||||||
|
* include/stdlib.h: Likewise.
|
||||||
|
|
||||||
* stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
|
* stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
|
||||||
(get_null_defines): Adjust.
|
(get_null_defines): Adjust.
|
||||||
* sunrpc/Makefile: Adjust comment.
|
* sunrpc/Makefile: Adjust comment.
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
/* No floating-point inline functions in rtld. */
|
/* No floating-point inline functions in rtld and for the conform tests. */
|
||||||
|
#ifdef _ISOMAC
|
||||||
|
# include <stdlib/bits/stdlib-float.h>
|
||||||
|
#else
|
||||||
# if !IS_IN (rtld)
|
# if !IS_IN (rtld)
|
||||||
# include <stdlib/bits/stdlib-float.h>
|
# include <stdlib/bits/stdlib-float.h>
|
||||||
# endif
|
# endif
|
||||||
|
#endif
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
#include <rt/mqueue.h>
|
#include <rt/mqueue.h>
|
||||||
|
|
||||||
|
#ifndef _ISOMAC
|
||||||
# if IS_IN (librt)
|
# if IS_IN (librt)
|
||||||
hidden_proto (mq_timedsend)
|
hidden_proto (mq_timedsend)
|
||||||
hidden_proto (mq_timedreceive)
|
hidden_proto (mq_timedreceive)
|
||||||
hidden_proto (mq_setattr)
|
hidden_proto (mq_setattr)
|
||||||
# endif
|
# endif
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue