From 45f1796923b1b10a3bb13e79f4905cd7763d969a Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Thu, 16 Sep 2004 08:35:01 +0000 Subject: [PATCH] encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro. 2004-09-16 Andrew Pinski * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro. From-SVN: r87591 --- libobjc/ChangeLog | 4 ++++ libobjc/encoding.c | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog index c10832bccc5..232da9cadb4 100644 --- a/libobjc/ChangeLog +++ b/libobjc/ChangeLog @@ -1,3 +1,7 @@ +2004-09-16 Andrew Pinski + + * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro. + 2004-08-28 Nathanael Nerode * configure.ac: Switch from _GCC_TOPLEV_NONCANONICAL_TARGET to diff --git a/libobjc/encoding.c b/libobjc/encoding.c index dba203204b6..7f71276b556 100644 --- a/libobjc/encoding.c +++ b/libobjc/encoding.c @@ -92,6 +92,11 @@ Boston, MA 02111-1307, USA. */ #define target_flags not_target_flags static int __attribute__ ((__unused__)) not_target_flags = 0; +/* Some ROUND_TYPE_ALIGN use ALTIVEC_VECTOR_MODE (rs6000 darwin). + Define a dummy ALTIVEC_VECTOR_MODE so it will not die. */ +#undef ALTIVEC_VECTOR_MODE +#define ALTIVEC_VECTOR_MODE(MODE) (0) + /* FIXME: while this file has no business including tm.h, this definitely has no business defining this macro but it -- 2.30.2