* include/errno.h [__cplusplus]: Avoid extra header magic for C++.
authorRoland McGrath <roland@gnu.org>
Thu, 2 Feb 2006 09:38:03 +0000 (09:38 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 2 Feb 2006 09:38:03 +0000 (09:38 +0000)
ChangeLog
include/errno.h

index fd1a8a6..9b113e5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2006-02-02  Roland McGrath  <roland@redhat.com>
 
+       * include/errno.h [__cplusplus]: Avoid extra header magic for C++.
+
        * manual/install.texi (Tools for Compilation): Require gcc 3.4,
        recommend 4.1, advise 4.0 for powerpc64, and note 4.1 required for
        powerpc, s390{x,} with new long double.
index 9865903..fe8bca4 100644 (file)
@@ -2,7 +2,7 @@
 
 #include <stdlib/errno.h>
 
-#if defined _ERRNO_H && !defined _ISOMAC
+#if defined _ERRNO_H && !defined _ISOMAC && !defined __cplusplus
 
 # ifdef IS_IN_rtld
 #  include <dl-sysdep.h>