about summary refs log tree commit diff
path: root/include/bits
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-11-24 15:24:34 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-11-24 15:24:34 +0530
commit7a9ebfa159f392fcf1c3aa172fc5bd6bd1eeea63 (patch)
tree313403a4ef8f585ad087f58734efe74dd872e89c /include/bits
parent4f41c682f3f0a0ad69eeac38a6b270f4362c3a02 (diff)
downloadglibc-7a9ebfa159f392fcf1c3aa172fc5bd6bd1eeea63.tar.gz
glibc-7a9ebfa159f392fcf1c3aa172fc5bd6bd1eeea63.tar.xz
glibc-7a9ebfa159f392fcf1c3aa172fc5bd6bd1eeea63.zip
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.
Diffstat (limited to 'include/bits')
-rw-r--r--include/bits/stdlib-float.h8
1 files changed, 6 insertions, 2 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 <stdlib/bits/stdlib-float.h>
+#else
+# if !IS_IN (rtld)
+#  include <stdlib/bits/stdlib-float.h>
+# endif
 #endif