aboutsummaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2012-11-19 14:47:11 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2012-11-19 09:47:11 -0500
commite053cf01e31602bc38588ab3a2921678afd30f8d (patch)
tree57d1d4654ac74ea57c677bf125f0b0b910964b9c /gcc/system.h
parent37f458dc1ef3aa85ee5ff07cec12531d17dda8be (diff)
downloadgcc-e053cf01e31602bc38588ab3a2921678afd30f8d.zip
gcc-e053cf01e31602bc38588ab3a2921678afd30f8d.tar.gz
gcc-e053cf01e31602bc38588ab3a2921678afd30f8d.tar.bz2
* system.h (vec_free): Undef.
From-SVN: r193625
Diffstat (limited to 'gcc/system.h')
-rw-r--r--gcc/system.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/system.h b/gcc/system.h
index 5d8e520b..2907e6c 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -228,6 +228,9 @@ extern int errno;
# include <stdlib.h>
#endif
+/* Undef vec_free from AIX stdlib.h header which conflicts with vec.h. */
+#undef vec_free
+
/* If we don't have an overriding definition, set SUCCESS_EXIT_CODE and
FATAL_EXIT_CODE to EXIT_SUCCESS and EXIT_FAILURE respectively,
or 0 and 1 if those macros are not defined. */