diff options
Diffstat (limited to 'src/mga_macros.h')
-rw-r--r-- | src/mga_macros.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mga_macros.h b/src/mga_macros.h index 130651d..d3b0d0e 100644 --- a/src/mga_macros.h +++ b/src/mga_macros.h @@ -17,7 +17,7 @@ #define RGBEQUAL(c) (!((((c) >> 8) ^ (c)) & 0xffff)) -#ifdef XF86DRI +#ifdef MGADRI #define MGA_SYNC_XTAG 0x275f4200 #define MGABUSYWAIT() do { \ @@ -64,7 +64,7 @@ while(INREG(MGAREG_DWGSYNC) != MGA_SYNC_XTAG) ; \ WAITFIFO(1); \ OUTREG(MGAREG_CXBNDRY, 0xFFFF0000); } -#ifdef XF86DRI +#ifdef MGADRI #define CHECK_DMA_QUIESCENT(pMGA, pScrn) { \ if (!pMGA->haveQuiescense) { \ pMGA->GetQuiescence( pScrn ); \ |