[xorg-commit-diffs] xc/programs/Xserver/hw/xfree86/os-support/bus
Pci.h, 1.1.4.4, 1.1.4.5
Alan Coopersmith
xorg-commit at pdx.freedesktop.org
Sun Apr 18 13:00:46 EST 2004
Committed by: alanc
Update of /cvs/xorg/xc/programs/Xserver/hw/xfree86/os-support/bus
In directory pdx:/tmp/cvs-serv28538/programs/Xserver/hw/xfree86/os-support/bus
Modified Files:
Tag: XORG-CURRENT
Pci.h
Log Message:
* xc/lib/GL/glx/Imakefile
* xc/lib/GL/mesa/src/Imakefile
LargePICTable required for Solaris SPARC builds
* xc/programs/Xserver/hw/xfree86/drivers/glint/pm3_accel.c
* xc/programs/Xserver/hw/xfree86/common/xf86Events.c
Add != NULL to if statements to get past syntax error reported
by Sun Forte 6.1 cc.
* xc/config/imake/imake.c
* xc/config/cf/sun.cf
* xc/config/cf/sunLib.tmpl
Allow compiling with Sun compilers installed somewhere other than
/opt/SUNWspro
* xc/programs/Xserver/hw/xfree86/common/compiler.h
* xc/programs/Xserver/hw/xfree86/os-support/bus/Pci.h
Check for defined(sparc) as well as defined(__sparc__) since Sun
compilers don't define __sparc__
Index: Pci.h
===================================================================
RCS file: /cvs/xorg/xc/programs/Xserver/hw/xfree86/os-support/bus/Pci.h,v
retrieving revision 1.1.4.4
retrieving revision 1.1.4.5
diff -u -d -r1.1.4.4 -r1.1.4.5
--- a/Pci.h 30 Mar 2004 14:23:14 -0000 1.1.4.4
+++ b/Pci.h 18 Apr 2004 03:00:43 -0000 1.1.4.5
@@ -312,7 +312,7 @@
# define INCLUDE_XF86_MAP_PCI_MEM
# define INCLUDE_XF86_NO_DOMAIN
# endif
-#elif defined(__sparc__)
+#elif defined(__sparc__) || defined(sparc)
# if defined(linux)
# define ARCH_PCI_INIT linuxPciInit
# define INCLUDE_XF86_MAP_PCI_MEM
More information about the xorg-commit-diffs
mailing list