aboutsummaryrefslogtreecommitdiff
path: root/libobjc/encoding.c
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2001-11-14 21:11:43 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2001-11-14 21:11:43 +0000
commitd5114db12a9ae1a5b2ad1e7d0d9245e87462bfe3 (patch)
treec162ed2b4da8592a09f02e4f54a71d0c68edc77e /libobjc/encoding.c
parent04d8aa70d552a552e39fa0afef50d22263253ec4 (diff)
downloadgcc-d5114db12a9ae1a5b2ad1e7d0d9245e87462bfe3.zip
gcc-d5114db12a9ae1a5b2ad1e7d0d9245e87462bfe3.tar.gz
gcc-d5114db12a9ae1a5b2ad1e7d0d9245e87462bfe3.tar.bz2
encoding.c: Add target_flags.
2001-11-14 Aldy Hernandez <aldyh@redhat.com> * encoding.c: Add target_flags. From-SVN: r47021
Diffstat (limited to 'libobjc/encoding.c')
-rw-r--r--libobjc/encoding.c5
1 files changed, 5 insertions, 0 deletions
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)
{