diff options
author | Yusuf Khan <yusisamerican@gmail.com> | 2024-02-17 14:35:11 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-03-17 20:52:28 +0000 |
commit | d06264d7a350846584dd12b11203769c61c23023 (patch) | |
tree | 3e28399be4a370880203494af8ee6c892a294e5e /src/nv_dac.c | |
parent | c8ab8f7868c1891a146e9f679278b990f1e23516 (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/nv_dac.c')
-rw-r--r-- | src/nv_dac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nv_dac.c b/src/nv_dac.c index 2269ae3..c7a0f01 100644 --- a/src/nv_dac.c +++ b/src/nv_dac.c @@ -42,7 +42,7 @@ NVDACPanelTweaks(NVPtr pNv, NVRegPtr state) we can do is experiment and apply hacks. */ if(((pNv->Chipset & 0xffff) == 0x0328) && (state->bpp == 32)) { -#if XSERVER_LIBPCIACCESS +#ifdef XSERVER_LIBPCIACCESS if (((pNv->PciInfo->subvendor_id & 0xffff) == 0x1179) && ((pNv->PciInfo->subdevice_id & 0xffff) == 0x0020)) #else |