From 06195e5139c9136ed81c299562395a9f9f9f64df Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Mon, 1 Sep 2014 22:55:04 +0530 Subject: 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. --- include/bits/stdlib-float.h | 8 ++++++-- include/mqueue.h | 4 +++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/include/bits/stdlib-float.h b/include/bits/stdlib-float.h index 346631482d..54ab571981 100644 --- a/include/bits/stdlib-float.h +++ b/include/bits/stdlib-float.h @@ -1,4 +1,8 @@ -/* No floating-point inline functions in rtld. */ -#if !IS_IN (rtld) +/* No floating-point inline functions in rtld and for the conform tests. */ +#ifdef _ISOMAC # include +#else +# if !IS_IN (rtld) +# include +# endif #endif diff --git a/include/mqueue.h b/include/mqueue.h index aba788e803..eb47b9b34e 100644 --- a/include/mqueue.h +++ b/include/mqueue.h @@ -1,7 +1,9 @@ #include -#if IS_IN (librt) +#ifndef _ISOMAC +# if IS_IN (librt) hidden_proto (mq_timedsend) hidden_proto (mq_timedreceive) hidden_proto (mq_setattr) +# endif #endif -- cgit 1.4.1