]> mj.ucw.cz Git - libucw.git/commitdiff
Compile with libc5.
authorMartin Mares <mj@ucw.cz>
Thu, 9 Sep 1999 20:02:39 +0000 (20:02 +0000)
committerMartin Mares <mj@ucw.cz>
Thu, 9 Sep 1999 20:02:39 +0000 (20:02 +0000)
lib/mmap.c

index 47147310ecf018fec0589168fe47a877d3253d50..23f69e6e36319d44426303435a9489a554f955fc 100644 (file)
 
 #include "lib.h"
 
+#ifndef MAP_FAILED
+#define MAP_FAILED ((void *)-1L)
+#endif
+
 void *
 mmap_file(byte *name, unsigned *len)
 {