add default MAP_FILE symbol to sys/mman.h
Many programs, such as webkit, specify 'MAP_FILE | MAP_SHARED' as flags to the call to mmap.
Apparently many platforms, *BSD and Linux, define it as follows in mman.h:
#define MAP_FILE 0x0000 /* map from file (default) */
As it is the default, it should be just fine to define as such on SunOS thus avoiding the necessity
to add -DMAP_FILE=0 to CPPFLAGS.
Updated by Electric Monk about 7 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit ccd5347f5bded380cdbfc73f87db15cfd5610961 Author: James Blachly <firstname.lastname@example.org> Date: 2016-09-06T14:04:31.000Z 6607 add default MAP_FILE symbol to sys/mman.h Reviewed by: Andy Stormont <email@example.com> Reviewed by: Robert Mustacchi <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>