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