diff options
Diffstat (limited to 'contrib/gcc/defaults.h')
-rw-r--r-- | contrib/gcc/defaults.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/contrib/gcc/defaults.h b/contrib/gcc/defaults.h index 2a7c567..8e1e1ec6 100644 --- a/contrib/gcc/defaults.h +++ b/contrib/gcc/defaults.h @@ -1,5 +1,5 @@ /* Definitions of various defaults for tm.h macros. - Copyright (C) 1992, 1996, 1997, 1998, 1999, 2000, 2001 + Copyright (C) 1992, 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. Contributed by Ron Guilmette (rfg@monkeys.com) @@ -158,7 +158,7 @@ do { ASM_OUTPUT_LABEL(FILE,LABEL_ALTERNATE_NAME (INSN)); } while (0) /* This determines whether or not we support weak symbols. */ #ifndef SUPPORTS_WEAK -#ifdef ASM_WEAKEN_LABEL +#if defined (ASM_WEAKEN_LABEL) || defined (ASM_WEAKEN_DECL) #define SUPPORTS_WEAK 1 #else #define SUPPORTS_WEAK 0 @@ -285,6 +285,11 @@ do { \ #define CHAR_TYPE_SIZE BITS_PER_UNIT #endif +#ifndef BOOL_TYPE_SIZE +/* `bool' has size and alignment `1', on almost all platforms. */ +#define BOOL_TYPE_SIZE CHAR_TYPE_SIZE +#endif + #ifndef SHORT_TYPE_SIZE #define SHORT_TYPE_SIZE (BITS_PER_UNIT * MIN ((UNITS_PER_WORD + 1) / 2, 2)) #endif |