Provide MAP_FAILED if sys/mman.h doesn't.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 28 Jun 2012 18:18:31 +0000 (14:18 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 28 Jun 2012 18:19:20 +0000 (14:19 -0400)
commitc1494b733015bf09d75c362925ec3f2740a77f73
tree47cd1e01ae87a5b90cc9534d85b67e42a8fe191f
parent8f85667a860437c50ae13008cad5359909388d3e
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.
src/backend/port/sysv_shmem.c