diff options
Diffstat (limited to 'Src/parse.c')
-rw-r--r-- | Src/parse.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Src/parse.c b/Src/parse.c index 7063599b4..a25eb3efa 100644 --- a/Src/parse.c +++ b/Src/parse.c @@ -2966,17 +2966,23 @@ build_cur_dump(char *nam, char *dump, char **names, int match, int map, return 0; } +/**/ #if defined(HAVE_SYS_MMAN_H) && defined(HAVE_MMAP) && defined(HAVE_MUNMAP) #include <sys/mman.h> +/**/ #if defined(MAP_SHARED) && defined(PROT_READ) +/**/ #define USE_MMAP 1 +/**/ #endif +/**/ #endif +/**/ #ifdef USE_MMAP /* List of dump files mapped. */ @@ -3060,6 +3066,7 @@ load_dump_file(char *dump, struct stat *sbuf, int other, int len) #define zwcstat(f, b) (!!stat(f, b)) +/**/ #endif /* Try to load a function from one of the possible wordcode files for it. |