summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2012-03-08 21:50:30 +0000
committerjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2012-03-08 21:50:30 +0000
commit66de1db7a3d01ae2686765cdad22f95a8fa0652d (patch)
tree90cd48145e0649a5ef784c346061afaf734744da /libc
parent166cc47deaa1da2477806e3bb9a1c6bd0b94ff52 (diff)
libc:
* bits/predefs.h: Test _STDC_PREDEF_H, not _FEATURES_H. ports: * sysdeps/arm/eabi/bits/predefs.h: Test _STDC_PREDEF_H, not _FEATURES_H. * sysdeps/arm/bits/predefs.h: Remove. git-svn-id: svn://svn.eglibc.org/trunk@17473 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc')
-rw-r--r--libc/ChangeLog.eglibc4
-rw-r--r--libc/bits/predefs.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/libc/ChangeLog.eglibc b/libc/ChangeLog.eglibc
index 9212dc63f..987307fc9 100644
--- a/libc/ChangeLog.eglibc
+++ b/libc/ChangeLog.eglibc
@@ -1,3 +1,7 @@
+2012-03-08 Joseph Myers <joseph@codesourcery.com>
+
+ * bits/predefs.h: Test _STDC_PREDEF_H, not _FEATURES_H.
+
2012-02-10 Paul Pluzhnikov <ppluzhnikov@google.com>
* timezone/Makefile: Use BUILD_CC instead of 'gcc'.
diff --git a/libc/bits/predefs.h b/libc/bits/predefs.h
index 4b0484a7b..fe4d99739 100644
--- a/libc/bits/predefs.h
+++ b/libc/bits/predefs.h
@@ -16,8 +16,8 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
-#ifndef _FEATURES_H
-# error "Never use <bits/predefs.h> directly; include <features.h> instead."
+#ifndef _STDC_PREDEF_H
+# error "Never use <bits/predefs.h> directly; include <stdc-predef.h> instead."
#endif
#ifndef _PREDEFS_H