From 596d38fb078aaa075bde47920b25c1b913056ea8 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 4 Aug 2006 13:38:26 +0000 Subject: 22586: fix warnings spotted on Cygwin --- Src/parse.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Src/parse.c') 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 +/**/ #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. -- cgit 1.4.1