mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-09 23:22:22 +00:00
Move check definition MAP_FAILED in xf86_OSlib.h
Also remove odd definition MAP_FAILED. Signed-off-by: Alexandr Shadchin <Alexandr.Shadchin@gmail.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
parent
af56e502f5
commit
05b41e2dc6
8 changed files with 4 additions and 30 deletions
|
|
@ -31,10 +31,6 @@
|
|||
#include "xf86Priv.h"
|
||||
#include "xf86_OSlib.h"
|
||||
|
||||
#ifndef MAP_FAILED
|
||||
#define MAP_FAILED ((void *)-1)
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Read BIOS via mmap()ing DEV_MEM
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue