Commit ed98d381 authored by Keith Packard's avatar Keith Packard

use #if instead of #ifdef

parent 4dd37de8
......@@ -70,7 +70,7 @@ smiScreenInit (KdScreenInfo *screen)
if (!smic->reg_base)
screen->dumb = TRUE;
screen->softCursor = TRUE;
#ifdef SMI_VESA
#if SMI_VESA
smis->screen = smis->sub.fb;
#else
smis->screen = smic->sub.fb;
......
......@@ -26,9 +26,9 @@
#ifndef _SMI_H_
#define _SMI_H_
#define SMI_VESA 1
#define SMI_VESA 0
#ifdef SMI_VESA
#if SMI_VESA
#include <vesa.h>
#define subGetColors vesaGetColors
#define subPutColors vesaPutColors
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment