diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2006-08-04 13:38:26 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2006-08-04 13:38:26 +0000 |
| commit | 596d38fb078aaa075bde47920b25c1b913056ea8 (patch) | |
| tree | 25c1fed73ed959bb8d69250d0c1018cb617dbcc9 /Src/parse.c | |
| parent | 22585: fix zsh.exports (diff) | |
| download | zsh-596d38fb078aaa075bde47920b25c1b913056ea8.tar zsh-596d38fb078aaa075bde47920b25c1b913056ea8.tar.gz zsh-596d38fb078aaa075bde47920b25c1b913056ea8.tar.bz2 zsh-596d38fb078aaa075bde47920b25c1b913056ea8.tar.lz zsh-596d38fb078aaa075bde47920b25c1b913056ea8.tar.xz zsh-596d38fb078aaa075bde47920b25c1b913056ea8.tar.zst zsh-596d38fb078aaa075bde47920b25c1b913056ea8.zip | |
22586: fix warnings spotted on Cygwin
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. |
