From d06264d7a350846584dd12b11203769c61c23023 Mon Sep 17 00:00:00 2001 From: Yusuf Khan Date: Sat, 17 Feb 2024 14:35:11 -0800 Subject: treewide: #if -> #ifdef I think the latest version of gcc got stricter in regards to this for some reason. Signed-off-by: Yusuf Khan --- src/riva_setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/riva_setup.c') 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), \ -- cgit v1.2.3