aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libobjc/ChangeLog4
-rw-r--r--libobjc/encoding.c5
2 files changed, 9 insertions, 0 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog
index c10832b..232da9c 100644
--- a/libobjc/ChangeLog
+++ b/libobjc/ChangeLog
@@ -1,3 +1,7 @@
+2004-09-16 Andrew Pinski <apinski@apple.com>
+
+ * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro.
+
2004-08-28 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.ac: Switch from _GCC_TOPLEV_NONCANONICAL_TARGET to
diff --git a/libobjc/encoding.c b/libobjc/encoding.c
index dba2032..7f71276 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