* encoding.c (BITS_PER_UNIT): Define if a definition is not provided.

From-SVN: r83438
This commit is contained in:
Nick Clifton 2004-06-21 16:39:21 +00:00 committed by Nick Clifton
parent de6f27a82e
commit e7ebc32a80
2 changed files with 9 additions and 1 deletions

View 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).

View File

@ -79,6 +79,9 @@ 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. */
#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;}))