hasting2    03/01/23 14:42:52

  Modified:    live/gcc3/gcc/config Tag: fearless-kitty-branch darwin.h
               live/gcc3/gcc/config/rs6000 Tag: fearless-kitty-branch
                        darwin.h
  Log:
  Make sizeof(_Bool) == 1 on Darwin/x86.  Radar 3078993. Available in gcc3-1252.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.168.2.4 +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.168.2.3
  retrieving revision 1.168.2.4
  diff -u -r1.168.2.3 -r1.168.2.4
  --- darwin.h  2002/12/11 20:47:50     1.168.2.3
  +++ darwin.h  2003/01/23 22:42:50     1.168.2.4
  @@ -84,12 +84,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 32
  -/* APPLE LOCAL end size of bool  */
  -
   /* Default to using the NeXT-style runtime, since that's what is
      pre-installed on Darwin systems.  */
   
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.66.2.1  +6 -0      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.66
  retrieving revision 1.66.2.1
  diff -u -r1.66 -r1.66.2.1
  --- darwin.h  2002/06/05 18:26:18     1.66
  +++ darwin.h  2003/01/23 22:42:51     1.66.2.1
  @@ -325,3 +325,9 @@
   /* APPLE LOCAL indirect calls in R12 */
   /* Address of indirect call must be computed here */
   #define MAGIC_INDIRECT_CALL_REG 12
  +
  +/* APPLE LOCAL begin size of bool  */
  +/* 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
  +/* APPLE LOCAL end size of bool  */
  
  
  


Reply via email to