summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2003-10-09 23:35:44 +0000
committerKeith Packard <keithp@keithp.com>2003-10-09 23:35:44 +0000
commited98d3814ee65cd9fd18eeadbd20c8fc6b4ab342 (patch)
treed8868daee928d24ba24fb14b8cb3ae5e30b8fcf7
parent4dd37de858464c576bfdcd10255a8e233a5b05d5 (diff)
use #if instead of #ifdef
-rw-r--r--hw/kdrive/smi/smi.c2
-rw-r--r--hw/kdrive/smi/smi.h4
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 <vesa.h>
#define subGetColors vesaGetColors
#define subPutColors vesaPutColors