]> gcc.gnu.org Git - gcc.git/commitdiff
* encoding.c (BITS_PER_UNIT): Define if a definition is not provided.
authorNick Clifton <nickc@redhat.com>
Mon, 21 Jun 2004 16:39:21 +0000 (16:39 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Mon, 21 Jun 2004 16:39:21 +0000 (16:39 +0000)
From-SVN: r83438

libobjc/ChangeLog
libobjc/encoding.c

index ef554a7f6a8952f18042f0ccb49c7c2633d8aa23..619683259e8a1fc53442915d4b64be3540f7fc58 100644 (file)
@@ -1,3 +1,8 @@
+2004-06-21  Nick Clifton  <nickc@redhat.com>
+
+       * encoding.c (BITS_PER_UNIT): Define if a definition is not
+       provided.
+
 2004-06-20  Alexander Malmberg  <alexander@malmberg.org>
 
         * Makefile.in (exception.lo): Remove $(OBJC_GCFLAGS).
index 4d45b4423dfa8f99059fdce8b7f438b61c1d9a90..248ab10bd9a65b3ebf2e4aceecb4bec121b8e3ad 100644 (file)
@@ -79,7 +79,10 @@ Boston, MA 02111-1307, USA.  */
 /* Some ports (eg ARM) allow the structure size boundary to be
    selected at compile-time.  We override the normal definition with
    one that has a constant value for this compilation.  */
-#undef STRUCTURE_SIZE_BOUNDARY
+#ifndef BITS_PER_UNIT
+#define BITS_PER_UNIT 8
+#endif
+#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
This page took 0.067084 seconds and 5 git commands to generate.