Ticket #17042: patch-config.h.diff

File patch-config.h.diff, 760 bytes (added by jmroot (Joshua Root), 16 years ago)
  • config.h

    old new  
    593593#define SIZEOF_INT 4
    594594
    595595/* The size of `long', as computed by sizeof. */
     596#ifdef __LP64__
    596597#define SIZEOF_LONG 8
     598#else
     599#define SIZEOF_LONG 4
     600#endif
    597601
    598602/* The size of `long long', as computed by sizeof. */
    599603#define SIZEOF_LONG_LONG 8
     
    602606#define SIZEOF_SHORT 2
    603607
    604608/* The size of `size_t', as computed by sizeof. */
     609#ifdef __LP64__
    605610#define SIZEOF_SIZE_T 8
     611#else
     612#define SIZEOF_SIZE_T 4
     613#endif
    606614
    607615/* The size of `void *', as computed by sizeof. */
     616#ifdef __LP64__
    608617#define SIZEOF_VOID_P 8
     618#else
     619#define SIZEOF_VOID_P 4
     620#endif
    609621
    610622/* The size of `__int64', as computed by sizeof. */
    611623#define SIZEOF___INT64 0