use #if instead of #ifdef
This commit is contained in:
parent
4dd37de858
commit
ed98d3814e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user