Skip to content

Commit

Permalink
*** empty log message ***
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jan 31, 2004
1 parent 802ed26 commit 68fc485
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/video/Xext/Xxf86dga/XF86DGA2.c
Expand Up @@ -23,7 +23,7 @@ Copyright (c) 1995,1996 The XFree86 Project, Inc
#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
Expand Down Expand Up @@ -929,7 +929,7 @@ DGAMapPhysical(
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;
Expand Down

0 comments on commit 68fc485

Please sign in to comment.