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 over 3 years ago
- % Done changed from 0 to 100
- Status changed from New to Closed
commit ccd5347f5bded380cdbfc73f87db15cfd5610961 Author: James Blachly <email@example.com> Date: 2016-09-06T14:04:31.000Z 6607 add default MAP_FILE symbol to sys/mman.h Reviewed by: Andy Stormont <firstname.lastname@example.org> Reviewed by: Robert Mustacchi <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>