diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2006-12-04 13:36:30 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2006-12-04 13:36:30 -0800 |
commit | f9f7d7f3be53c808abb5eaceb7a1abc55744a210 (patch) | |
tree | 11f39ee8225432a387c3e3bb46f0a8ec12ec28a4 /hw/xfree86/loader/xf86sym.c | |
parent | ac90ce58ba1da3ed605adf75f4d54c34b578c402 (diff) |
Check for __sparc as well as __sparc__ for compatibility with Sun cc
(gcc defines __sparc__, Sun cc defines __sparc)
Diffstat (limited to 'hw/xfree86/loader/xf86sym.c')
-rw-r--r-- | hw/xfree86/loader/xf86sym.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/loader/xf86sym.c b/hw/xfree86/loader/xf86sym.c index 3051dedaf..1cb7dae08 100644 --- a/hw/xfree86/loader/xf86sym.c +++ b/hw/xfree86/loader/xf86sym.c @@ -499,7 +499,7 @@ _X_HIDDEN void *xfree86LookupTab[] = { SYMFUNC(xf86AddModuleInfo) SYMFUNC(xf86DeleteModuleInfo) -#if defined(__sparc__) && !defined(__OpenBSD__) +#if (defined(__sparc__) || defined(__sparc)) && !defined(__OpenBSD__) /* xf86sbusBus.c */ SYMFUNC(xf86MatchSbusInstances) SYMFUNC(xf86GetSbusInfoForEntity) |