mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-25 02:30:06 +01:00
use #if instead of #ifdef
This commit is contained in:
parent
4dd37de858
commit
ed98d3814e
2 changed files with 3 additions and 3 deletions
|
|
@ -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…
Add table
Reference in a new issue