Ticket #21358: patch_pg_config_h.diff

File patch_pg_config_h.diff, 692 bytes (added by Veence (Vincent), 15 years ago)

First .h patch

  • pg_config.h

    old new  
    685685/* The size of `off_t', as computed by sizeof. */
    686686#define SIZEOF_OFF_T 8
    687687
     688#ifdef __LP64__
     689  #define SZ  8
     690#else
     691  #define SZ  4
     692#endif
     693
    688694/* The size of `size_t', as computed by sizeof. */
    689 #define SIZEOF_SIZE_T 8
     695#define SIZEOF_SIZE_T SZ
    690696
    691697/* The size of `unsigned long', as computed by sizeof. */
    692 #define SIZEOF_UNSIGNED_LONG 8
     698#define SIZEOF_UNSIGNED_LONG SZ
    693699
    694700/* The size of `void *', as computed by sizeof. */
    695 #define SIZEOF_VOID_P 8
     701#define SIZEOF_VOID_P SZ
    696702
    697703/* Define to 1 if you have the ANSI C header files. */
    698704#define STDC_HEADERS 1