Mercurial > sdl-ios-xcode
changeset 798:f1b029d3b301
*** empty log message ***
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 31 Jan 2004 21:23:15 +0000 |
parents | d0f1e34290d6 |
children | 85960507bd2e |
files | src/video/Xext/Xxf86dga/XF86DGA2.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/video/Xext/Xxf86dga/XF86DGA2.c Sat Jan 31 08:57:03 2004 +0000 +++ b/src/video/Xext/Xxf86dga/XF86DGA2.c Sat Jan 31 21:23:15 2004 +0000 @@ -23,7 +23,7 @@ #include "extutil.h" #include <stdio.h> -#if defined(linux) /* Needed for framebuffer console support */ +#if defined(ENABLE_FBCON) /* Needed for framebuffer console support */ #include <sys/ioctl.h> #include <linux/fb.h> #endif @@ -929,7 +929,7 @@ if (!name) name = DEV_MEM; if ((pMap->fd = open(name, O_RDWR)) < 0) -#if defined(linux) +#if defined(ENABLE_FBCON) { /* /dev/fb0 fallback added by Sam Lantinga <hercules@lokigames.com> */ /* Try to fall back to /dev/fb on Linux - FIXME: verify the device */ struct fb_fix_screeninfo finfo;