Provide MAP_FAILED if sys/mman.h doesn't.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: c1494b733015bf09d75c362925ec3f2740a77f73
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2012-06-28T18:19:20Z
Releases: 9.3.0
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.

Files

PathChange+/−
src/backend/port/sysv_shmem.c modified +6 −0