This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] libierty: change _ANSIDECL_H to ANSIDECL_H
- From: Lawrence D'Anna <larry at elder-gods dot org>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Lawrence D'Anna <larry at elder-gods dot org>
- Date: Sun, 19 Jul 2015 21:22:29 -0700
- Subject: [PATCH] libierty: change _ANSIDECL_H to ANSIDECL_H
- Authentication-results: sourceware.org; auth=none
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)