]> git.pld-linux.org Git - packages/detect.git/blame - detect-ia64-io-h.patch
- updated gettext BR
[packages/detect.git] / detect-ia64-io-h.patch
CommitLineData
47ab3315
KK
1diff -urN detect-old/src/SuperProbe/AsmMacros.h detect/src/SuperProbe/AsmMacros.h
2--- detect-old/src/SuperProbe/AsmMacros.h Tue Mar 27 08:15:39 2001
3+++ detect/src/SuperProbe/AsmMacros.h Tue Mar 27 08:17:38 2001
4@@ -60,13 +60,17 @@
5 /* $XFree86: xc/programs/Xserver/hw/xfree86/SuperProbe/AsmMacros.h,v 3.10.2.1 1999/06/17 16:23:57 hohndel Exp $ */
6
7 #if defined(__GNUC__)
8-#if defined(linux) && (defined(__alpha__) || defined(__powerpc__))
9+#if defined(linux) && (defined(__alpha__) || defined(__powerpc__) || defined(__ia64__))
10+#ifdef __ia64__
11+#include <sys/io.h>
12+#else /* !__ia64__ */
13 #define inb _inb
14 #define inw _inw
15 #define inl _inl
16 #define outb(p,v) _outb((v),(p))
17 #define outw(p,v) _outw((v),(p))
18 #define outl(p,v) _outl((v),(p))
19+#endif /* !__ia64__ */
20 #else
21 #if defined(__sparc__)
22 #ifndef ASI_PL
This page took 0.10663 seconds and 4 git commands to generate.