summaryrefslogtreecommitdiff
path: root/src/riva_setup.c
diff options
context:
space:
mode:
authorYusuf Khan <yusisamerican@gmail.com>2024-02-17 14:35:11 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-03-17 20:52:28 +0000
commitd06264d7a350846584dd12b11203769c61c23023 (patch)
tree3e28399be4a370880203494af8ee6c892a294e5e /src/riva_setup.c
parentc8ab8f7868c1891a146e9f679278b990f1e23516 (diff)
treewide: #if -> #ifdef
I think the latest version of gcc got stricter in regards to this for some reason. Signed-off-by: Yusuf Khan <yusisamerican@gmail.com>
Diffstat (limited to 'src/riva_setup.c')
-rw-r--r--src/riva_setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/riva_setup.c b/src/riva_setup.c
index 533f6e8..badc088 100644
--- a/src/riva_setup.c
+++ b/src/riva_setup.c
@@ -233,7 +233,7 @@ Riva3Setup(ScrnInfoPtr pScrn)
pRiva->riva.EnableIRQ = 0;
pRiva->riva.IO = VGA_IOBASE_COLOR;
-#if XSERVER_LIBPCIACCESS
+#ifdef XSERVER_LIBPCIACCESS
#define MAP(ptr, offset, size) { \
void *tmp; \
pci_device_map_range(pRiva->PciInfo, (offset), (size), \