encoding.c: Add target_flags.
authorAldy Hernandez <aldyh@redhat.com>
Wed, 14 Nov 2001 21:11:43 +0000 (21:11 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Wed, 14 Nov 2001 21:11:43 +0000 (21:11 +0000)
2001-11-14  Aldy Hernandez  <aldyh@redhat.com>

        * encoding.c: Add target_flags.

From-SVN: r47021

libobjc/ChangeLog
libobjc/encoding.c

index d4666fad732beae894752d86c0e1a35fc6da9841..1bce3f81acee17367c4e4febaf3f3618bb97d907 100644 (file)
@@ -1,3 +1,7 @@
+2001-11-14  Aldy Hernandez  <aldyh@redhat.com>
+
+        * encoding.c: Add target_flags.
+
 2001-11-07  Aldy Hernandez  <aldyh@redhat.com>
 
         * objc/objc-api.h (_C_VECTOR): New.
index 1ed521afa74ae485525e1314ae22567faf39e11c..ec7173774e8a6955024493bd60adc8ff4515fb1d 100644 (file)
@@ -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)
 {