hasting2    03/01/23 14:54:18

  Modified:    live/gcc3/gcc/config darwin.h
               live/gcc3/gcc/config/rs6000 darwin.h
  Log:
  Make sizeof(_Bool) == 1 on Darwin/x86.  Radar 3078993.  Available in gcc3-1312 or 
-1313.
  
  Revision  Changes    Path
  1.193     +0 -6      src/live/gcc3/gcc/config/darwin.h
  
  Index: darwin.h
  ===================================================================
  RCS file: /cvs/Darwin/src/live/gcc3/gcc/config/darwin.h,v
  retrieving revision 1.192
  retrieving revision 1.193
  diff -u -r1.192 -r1.193
  --- darwin.h  2003/01/22 06:03:01     1.192
  +++ darwin.h  2003/01/23 22:54:17     1.193
  @@ -77,12 +77,6 @@
   #undef       WCHAR_TYPE_SIZE
   #define WCHAR_TYPE_SIZE 32
   
  -/* APPLE LOCAL begin size of bool  */
  -/* `bool' has size and alignment `4', on Darwin.  */
  -#undef       BOOL_TYPE_SIZE
  -#define BOOL_TYPE_SIZE INT_TYPE_SIZE
  -/* APPLE LOCAL end size of bool  */
  -
   /* Default to using the NeXT-style runtime, since that's what is
      pre-installed on Darwin systems.  */
   
  
  
  
  1.81      +1 -3      src/live/gcc3/gcc/config/rs6000/darwin.h
  
  Index: darwin.h
  ===================================================================
  RCS file: /cvs/Darwin/src/live/gcc3/gcc/config/rs6000/darwin.h,v
  retrieving revision 1.80
  retrieving revision 1.81
  diff -u -r1.80 -r1.81
  --- darwin.h  2002/12/20 17:44:31     1.80
  +++ darwin.h  2003/01/23 22:54:17     1.81
  @@ -344,11 +344,9 @@
   /* Address of indirect call must be computed here */
   #define MAGIC_INDIRECT_CALL_REG 12
   
  -#if 0 /* APPLE FIXME use common defn */
  -/* For binary compatibility with 2.95; Darwin C APIs use bool from
  +/* For binary compatibility with 2.95; Darwin/PPC C APIs use bool from
      stdbool.h, which was an int-sized enum in 2.95.  */
   #define BOOL_TYPE_SIZE INT_TYPE_SIZE
  -#endif
   
   /* APPLE LOCAL OS pragma hook */
   /* Register generic Darwin pragmas as "OS" pragmas.  */
  
  
  


Reply via email to