]> mj.ucw.cz Git - libucw.git/blobdiff - lib/mmap.c
Forgot to commit this one during the "search by age" changes.
[libucw.git] / lib / mmap.c
index 87a2047f7038df21268eb32ce0ce958ec6ab8223..2b057b6cf7da2071508b0393a4c06d19f4f136b7 100644 (file)
 #include <sys/stat.h>
 #include <sys/mman.h>
 
-#ifndef MAP_FAILED
-#warning System includes do not define MAP_FAILED.
-#define MAP_FAILED ((void *)-1L)
-#endif
-
 void *
 mmap_file(byte *name, unsigned *len, int writeable)
 {