aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2000-11-20 17:24:36 +0000
committerGerd Moellmann2000-11-20 17:24:36 +0000
commit09dfdf85acdae3ebe8e110610a4a5f90e77459b1 (patch)
treea6420b3c348cb59c06e3ab339c96f714aaa68e93 /src
parentff9ab41497e05841639181129f4eebfefba8134d (diff)
downloademacs-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')
-rw-r--r--src/ChangeLog3
-rw-r--r--src/buffer.c4
2 files changed, 7 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index e80ec2afb28..85ddee278ba 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
12000-11-20 Gerd Moellmann <gerd@gnu.org> 12000-11-20 Gerd Moellmann <gerd@gnu.org>
2 2
3 * buffer.c (MAP_FAILED): Define it as `((void *) -1)' if it's
4 not defined in mman.h.
5
3 * xterm.c (scroll_bar_windows, scroll_bar_windows_size): New 6 * xterm.c (scroll_bar_windows, scroll_bar_windows_size): New
4 variables. 7 variables.
5 (x_send_scroll_bar_event): Store the window in scroll_bar_windows 8 (x_send_scroll_bar_event): Store the window in scroll_bar_windows
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