From d5114db12a9ae1a5b2ad1e7d0d9245e87462bfe3 Mon Sep 17 00:00:00 2001 From: Aldy Hernandez Date: Wed, 14 Nov 2001 21:11:43 +0000 Subject: [PATCH] encoding.c: Add target_flags. 2001-11-14 Aldy Hernandez * encoding.c: Add target_flags. From-SVN: r47021 --- libobjc/ChangeLog | 4 ++++ libobjc/encoding.c | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog index d4666fa..1bce3f8 100644 --- a/libobjc/ChangeLog +++ b/libobjc/ChangeLog @@ -1,3 +1,7 @@ +2001-11-14 Aldy Hernandez + + * encoding.c: Add target_flags. + 2001-11-07 Aldy Hernandez * objc/objc-api.h (_C_VECTOR): New. diff --git a/libobjc/encoding.c b/libobjc/encoding.c index 1ed521a..ec71737 100644 --- a/libobjc/encoding.c +++ b/libobjc/encoding.c @@ -73,6 +73,11 @@ Boston, MA 02111-1307, USA. */ #undef STRUCTURE_SIZE_BOUNDARY #define STRUCTURE_SIZE_BOUNDARY (BITS_PER_UNIT * sizeof (struct{char a;})) +/* Some ROUND_TYPE_ALIGN macros use TARGET_foo, and consequently + target_flags. Define a dummy entry here to so we don't die. */ + +static int target_flags = 0; + static inline int atoi (const char* str) { -- 2.7.4