Check for __sparc as well as __sparc__ for compatibility with Sun cc

(gcc defines __sparc__, Sun cc defines __sparc)
This commit is contained in:
Alan Coopersmith 2006-12-04 13:36:30 -08:00
commit f9f7d7f3be
7 changed files with 14 additions and 14 deletions

View file

@ -64,7 +64,7 @@ extern ScrnInfoPtr xf86CurrentScreen;
extern Bool pciSlotClaimed;
extern Bool isaSlotClaimed;
extern Bool fbSlotClaimed;
#ifdef __sparc__
#if defined(__sparc__) || defined(__sparc)
extern Bool sbusSlotClaimed;
#endif
extern confDRIRec xf86ConfigDRI;