Ticket #17982: build_diff_32_64.diff

File build_diff_32_64.diff, 1.7 KB (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 15 years ago)
  • config.h

    diff -ur i386/config.h x86_64/config.h
    old new  
    22/* config.h.in.  Generated from configure.ac by autoheader.  */
    33
    44/* Define to the number of bits in type 'ptrdiff_t'. */
    5 #define BITSIZEOF_PTRDIFF_T 32
     5#define BITSIZEOF_PTRDIFF_T 64
    66
    77/* Define to the number of bits in type 'sig_atomic_t'. */
    88#define BITSIZEOF_SIG_ATOMIC_T 32
    99
    1010/* Define to the number of bits in type 'size_t'. */
    11 #define BITSIZEOF_SIZE_T 32
     11#define BITSIZEOF_SIZE_T 64
    1212
    1313/* Define to the number of bits in type 'wchar_t'. */
    1414#define BITSIZEOF_WCHAR_T 32
     
    288288
    289289/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
    290290   'ptrdiff_t'. */
    291 #define PTRDIFF_T_SUFFIX
     291#define PTRDIFF_T_SUFFIX l
    292292
    293293/* Define this to 1 if strerror is broken. */
  • srclib/stdint.h

    diff -ur i386/srclib/stdint.h x86_64/srclib/stdint.h
    old new  
    412412#undef PTRDIFF_MIN
    413413#undef PTRDIFF_MAX
    414414#define PTRDIFF_MIN  \
    415    _STDINT_MIN (1, 32, 0)
     415   _STDINT_MIN (1, 64, 0l)
    416416#define PTRDIFF_MAX  \
    417    _STDINT_MAX (1, 32, 0)
     417   _STDINT_MAX (1, 64, 0l)
    418418
    419419/* sig_atomic_t limits */
    420420#undef SIG_ATOMIC_MIN
     
    429429
    430430/* size_t limit */
    431431#undef SIZE_MAX
    432 #define SIZE_MAX  _STDINT_MAX (0, 32, 0ul)
     432#define SIZE_MAX  _STDINT_MAX (0, 64, 0ul)
    433433
    434434/* wchar_t limits */
    435435#undef WCHAR_MIN