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@gmail.com>2012-11-19 14:47:11 +0000
commit30bee7b3d98ef87a507061feed8abc68f3d5e461 (patch)
tree57d1d4654ac74ea57c677bf125f0b0b910964b9c /gcc/system.h
parente20a5d343655f52a11f5a71ff8ee8c112d2aa1b9 (diff)
* system.h (vec_free): Undef.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@193625 138bc75d-0d04-0410-961f-82ee72b054a4
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 5d8e520bbb2..2907e6c3f9f 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. */