Ticket #14619: patch_pg_config_h
| File patch_pg_config_h, 463 bytes (added by 10.50@…, 3 years ago) |
|---|
| Line | |
|---|---|
| 1 | --- src/include/pg_config.h.orig 2008-12-16 21:32:17.000000000 +0100 |
| 2 | +++ src/include/pg_config.h 2008-12-16 21:33:05.000000000 +0100 |
| 3 | @@ -642,7 +642,11 @@ |
| 4 | #define SIZEOF_SIZE_T 8 |
| 5 | |
| 6 | /* The size of a `unsigned long', as computed by sizeof. */ |
| 7 | -#define SIZEOF_UNSIGNED_LONG 8 |
| 8 | +#if defined (__LP64__) |
| 9 | + #define SIZEOF_UNSIGNED_LONG 8 |
| 10 | +#else |
| 11 | + #define SIZEOF_UNSIGNED_LONG 4 |
| 12 | +#endif |
| 13 | |
| 14 | /* Define to 1 if you have the ANSI C header files. */ |
| 15 | #define STDC_HEADERS 1 |

