(root)/
gcc-13.2.0/
fixincludes/
tests/
base/
stdint-darwin.h
       1  /*  DO NOT EDIT THIS FILE.
       2  
       3      It has been auto-edited by fixincludes from:
       4  
       5  	"fixinc/tests/inc/stdint-darwin.h"
       6  
       7      This had to be done to correct non-standard usages in the
       8      original, manufacturer supplied header file.  */
       9  
      10  
      11  
      12  #if defined( DARWIN_STDINT_1_CHECK )
      13  #define UINT8_C(v)	v
      14  #define UINT16_C(v)	v
      15  #endif  /* DARWIN_STDINT_1_CHECK */
      16  
      17  
      18  #if defined( DARWIN_STDINT_2_CHECK )
      19  #if __WORDSIZE == 64
      20  #define INTPTR_MAX 9223372036854775807L
      21  #define INTPTR_MIN (-INTPTR_MAX-1)
      22  #else
      23  #define INTPTR_MAX 2147483647L
      24  #define INTPTR_MIN (-INTPTR_MAX-1)
      25  #endif
      26  #endif  /* DARWIN_STDINT_2_CHECK */
      27  
      28  
      29  #if defined( DARWIN_STDINT_3_CHECK )
      30  #if __WORDSIZE == 64
      31  #define UINTPTR_MAX 18446744073709551615UL
      32  #else
      33  #define UINTPTR_MAX 4294967295UL
      34  #endif
      35  #endif  /* DARWIN_STDINT_3_CHECK */
      36  
      37  
      38  #if defined( DARWIN_STDINT_4_CHECK )
      39  #if __WORDSIZE == 64
      40  #define SIZE_MAX 18446744073709551615UL
      41  #else
      42  #define SIZE_MAX 4294967295UL
      43  #endif
      44  #endif  /* DARWIN_STDINT_4_CHECK */
      45  
      46  
      47  #if defined( DARWIN_STDINT_5_CHECK )
      48  #if __WORDSIZE == 64
      49  #define INTMAX_MIN   (-9223372036854775807L - 1)
      50  #define INTMAX_MAX   9223372036854775807L
      51  #define UINTMAX_MAX  18446744073709551615UL
      52  #else
      53  #define INTMAX_MIN   (-9223372036854775807LL - 1)
      54  #define INTMAX_MAX   9223372036854775807LL
      55  #define UINTMAX_MAX  18446744073709551615ULL
      56  #endif
      57  #endif  /* DARWIN_STDINT_5_CHECK */
      58  
      59  
      60  #if defined( DARWIN_STDINT_6_CHECK )
      61  #if __WORDSIZE == 64
      62  #define PTRDIFF_MIN (-9223372036854775807L - 1)
      63  #define PTRDIFF_MAX 9223372036854775807L
      64  #else
      65  #define PTRDIFF_MIN (-2147483647 - 1)
      66  #define PTRDIFF_MAX 2147483647
      67  #endif
      68  #endif  /* DARWIN_STDINT_6_CHECK */
      69  
      70  
      71  #if defined( DARWIN_STDINT_7_CHECK )
      72  #if __WORDSIZE == 64
      73  #define INTMAX_C(v)  (v ## L)
      74  #define UINTMAX_C(v) (v ## UL)
      75  #else
      76  #define INTMAX_C(v)  (v ## LL)
      77  #define UINTMAX_C(v) (v ## ULL)
      78  #endif
      79  #endif  /* DARWIN_STDINT_7_CHECK */