diff options
| author | Gerd Moellmann | 2000-11-20 17:24:36 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-11-20 17:24:36 +0000 |
| commit | 09dfdf85acdae3ebe8e110610a4a5f90e77459b1 (patch) | |
| tree | a6420b3c348cb59c06e3ab339c96f714aaa68e93 /src/buffer.c | |
| parent | ff9ab41497e05841639181129f4eebfefba8134d (diff) | |
| download | emacs-09dfdf85acdae3ebe8e110610a4a5f90e77459b1.tar.gz emacs-09dfdf85acdae3ebe8e110610a4a5f90e77459b1.zip | |
(MAP_FAILED): Define it as `((void *) -1)' if it's
not defined in mman.h.
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c index 1e31c93ea5c..09732cc9bc9 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -4078,6 +4078,10 @@ buffer_slot_type_mismatch (offset) | |||
| 4078 | #endif | 4078 | #endif |
| 4079 | #endif | 4079 | #endif |
| 4080 | 4080 | ||
| 4081 | #ifndef MAP_FAILED | ||
| 4082 | #define MAP_FAILED ((void *) -1) | ||
| 4083 | #endif | ||
| 4084 | |||
| 4081 | #include <stdio.h> | 4085 | #include <stdio.h> |
| 4082 | #include <errno.h> | 4086 | #include <errno.h> |
| 4083 | 4087 | ||