This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] libierty: change _ANSIDECL_H to ANSIDECL_H


ansidecl.h is using _ANSIDECL_H as it's guard #ifdef.  But names that start with
underscore are reserved, and the latest version of Xcode seems to be exercising
its prerogative to define _ANSIDECL_H.

This patch changes _ANSIDECL_H to ANSIDECL_H so Xcode can still be used to
bootstrap gcc.

Signed-off-by: Lawrence D'Anna <larry@elder-gods.org>
---
 include/ansidecl.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/ansidecl.h b/include/ansidecl.h
index 224627d..0d6cd89 100644
--- a/include/ansidecl.h
+++ b/include/ansidecl.h
@@ -33,8 +33,8 @@ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
    wrappers around __attribute__.  Also, __extension__ will be #defined
    to nothing if it doesn't work.  See below.  */
 
-#ifndef	_ANSIDECL_H
-#define _ANSIDECL_H	1
+#ifndef	ANSIDECL_H
+#define ANSIDECL_H	1
 
 #ifdef __cplusplus
 extern "C" {
-- 
2.3.8 (Apple Git-58)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]