pgsql: Provide MAP_FAILED if sys/mman.h doesn't.
pgsql: Provide MAP_FAILED if sys/mman.h doesn't.
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Provide MAP_FAILED if sys/mman.h doesn't. On old HPUX this has to be #defined to -1. It might be that other values are required on other dinosaur systems, but we'll worry about that when and if we get reports. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/c1494b733015bf09d75c362925ec3f2740a77f73 Modified Files -------------- src/backend/port/sysv_shmem.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)