From ed98d3814ee65cd9fd18eeadbd20c8fc6b4ab342 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 9 Oct 2003 23:35:44 +0000 Subject: [PATCH] use #if instead of #ifdef --- hw/kdrive/smi/smi.c | 2 +- hw/kdrive/smi/smi.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/kdrive/smi/smi.c b/hw/kdrive/smi/smi.c index 4ca87dbf3..fc29b2228 100644 --- a/hw/kdrive/smi/smi.c +++ b/hw/kdrive/smi/smi.c @@ -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; diff --git a/hw/kdrive/smi/smi.h b/hw/kdrive/smi/smi.h index ba985f48d..572312313 100644 --- a/hw/kdrive/smi/smi.h +++ b/hw/kdrive/smi/smi.h @@ -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 #define subGetColors vesaGetColors #define subPutColors vesaPutColors