diff options
Diffstat (limited to 'src/timezone/README')
-rw-r--r-- | src/timezone/README | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/timezone/README b/src/timezone/README index d3dd7b7fa6d..3c593933c1c 100644 --- a/src/timezone/README +++ b/src/timezone/README @@ -70,11 +70,8 @@ old-style function declarations to C89 style, but thank goodness they fixed that.) * We need the code to follow Postgres' portability conventions; this -includes relying on configure's results rather than hand-hacked #defines, -and not relying on <stdint.h> features that may not exist on old systems. -(In particular this means using Postgres' definitions of the int32 and -int64 typedefs, not int_fast32_t/int_fast64_t. Likewise we use -PG_INT32_MIN/MAX not INT32_MIN/MAX.) +includes relying on configure's results rather than hand-hacked +#defines (see private.h). * Since Postgres is typically built on a system that has its own copy of the <time.h> functions, we must avoid conflicting with those. This @@ -112,13 +109,6 @@ to first run the tzcode source files through a sed filter like this: -e 's|^\*/| */|' \ -e 's/\bregister[ \t]//g' \ -e 's/\bATTRIBUTE_PURE[ \t]//g' \ - -e 's/int_fast32_t/int32/g' \ - -e 's/int_fast64_t/int64/g' \ - -e 's/intmax_t/int64/g' \ - -e 's/INT32_MIN/PG_INT32_MIN/g' \ - -e 's/INT32_MAX/PG_INT32_MAX/g' \ - -e 's/INTMAX_MIN/PG_INT64_MIN/g' \ - -e 's/INTMAX_MAX/PG_INT64_MAX/g' \ -e 's/struct[ \t]+tm\b/struct pg_tm/g' \ -e 's/\btime_t\b/pg_time_t/g' \ -e 's/lineno/lineno_t/g' \ |