summaryrefslogtreecommitdiff
path: root/src/riva_setup.c
diff options
context:
space:
mode:
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), \