ce426f
commit 7a9ebfa159f392fcf1c3aa172fc5bd6bd1eeea63
ce426f
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
ce426f
Date:   Mon Nov 24 15:24:34 2014 +0530
ce426f
ce426f
    Use IS_IN internally only
ce426f
    
ce426f
    This change is only useful for the conformance tests since the headers
ce426f
    changed are not installed.  The conformance tests fail due to IS_IN
ce426f
    not being defined, so wrap it with a check to make sure that _ISOMAC
ce426f
    is defined.
ce426f
    
ce426f
    	* include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
ce426f
    	defined.
ce426f
    	* include/mqueue.h: Likewise.
ce426f
    	* include/stdlib.h: Likewise.
ce426f
ce426f
Index: glibc-2.17-c758a686/include/bits/stdlib-float.h
ce426f
===================================================================
ce426f
--- glibc-2.17-c758a686.orig/include/bits/stdlib-float.h
ce426f
+++ glibc-2.17-c758a686/include/bits/stdlib-float.h
ce426f
@@ -1,4 +1,8 @@
ce426f
-/* No floating-point inline functions in rtld.  */
ce426f
-#if !IS_IN (rtld)
ce426f
+/* No floating-point inline functions in rtld and for the conform tests.  */
ce426f
+#ifdef _ISOMAC
ce426f
 # include <stdlib/bits/stdlib-float.h>
ce426f
+#else
ce426f
+# if !IS_IN (rtld)
ce426f
+#  include <stdlib/bits/stdlib-float.h>
ce426f
+# endif
ce426f
 #endif
ce426f
Index: glibc-2.17-c758a686/include/mqueue.h
ce426f
===================================================================
ce426f
--- glibc-2.17-c758a686.orig/include/mqueue.h
ce426f
+++ glibc-2.17-c758a686/include/mqueue.h
ce426f
@@ -1,7 +1,9 @@
ce426f
 #include <rt/mqueue.h>
ce426f
 
ce426f
-#if IS_IN (librt)
ce426f
+#ifndef _ISOMAC
ce426f
+# if IS_IN (librt)
ce426f
 hidden_proto (mq_timedsend)
ce426f
 hidden_proto (mq_timedreceive)
ce426f
 hidden_proto (mq_setattr)
ce426f
+# endif
ce426f
 #endif