summaryrefslogtreecommitdiff
path: root/hw/xfree86/os-support/linux/lnx_video.c
diff options
context:
space:
mode:
authorAlexandr Shadchin <Alexandr.Shadchin@gmail.com>2011-10-04 17:20:13 +0600
committerAlexandr Shadchin <Alexandr.Shadchin@gmail.com>2011-10-29 02:13:27 +0600
commit05b41e2dc60a0aefc685a33260e5d8e09580908b (patch)
tree645281d56022e4563129555409431ec910d52b4d /hw/xfree86/os-support/linux/lnx_video.c
parentaf56e502f5ddf1d2d495b633734cadcb023b7c36 (diff)
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>
Diffstat (limited to 'hw/xfree86/os-support/linux/lnx_video.c')
-rw-r--r--hw/xfree86/os-support/linux/lnx_video.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/hw/xfree86/os-support/linux/lnx_video.c b/hw/xfree86/os-support/linux/lnx_video.c
index 3d455112c..e711784e7 100644
--- a/hw/xfree86/os-support/linux/lnx_video.c
+++ b/hw/xfree86/os-support/linux/lnx_video.c
@@ -46,10 +46,6 @@
#include <asm/mtrr.h>
#endif
-#ifndef MAP_FAILED
-#define MAP_FAILED ((void *)-1)
-#endif
-
static Bool ExtendedEnabled = FALSE;
#ifdef __ia64__