changeset 33645:e822f94eb7d9

(MAP_FAILED): Define it as `((void *) -1)' if it's not defined in mman.h.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 20 Nov 2000 17:24:12 +0000
parents b75587b124c4
children b5116353ac8f
files src/buffer.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/buffer.c	Mon Nov 20 16:51:24 2000 +0000
+++ b/src/buffer.c	Mon Nov 20 17:24:12 2000 +0000
@@ -4078,6 +4078,10 @@
 #endif
 #endif
 
+#ifndef MAP_FAILED
+#define MAP_FAILED ((void *) -1)
+#endif
+
 #include <stdio.h>
 #include <errno.h>