mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-19 01:13:56 -04:00
25 lines
574 B
Plaintext
25 lines
574 B
Plaintext
$NetBSD: patch-ab,v 1.4 2008/08/04 08:04:30 obache Exp $
|
|
|
|
--- include/ia64.h.orig 2000-03-09 00:57:11.000000000 +0000
|
|
+++ include/ia64.h
|
|
@@ -38,7 +38,7 @@ benefit from your work.
|
|
0<=lo,hi<=63 and lo<=hi */
|
|
|
|
#define BITS(x,lo,hi) ( \
|
|
- (uint32)(x##.q >> lo) & \
|
|
+ (uint32)(x.q >> lo) & \
|
|
( (1<<(hi-lo+1)) - 1 ) \
|
|
)
|
|
|
|
@@ -72,8 +72,8 @@ typedef union {
|
|
uint8 b[8];
|
|
} qword;
|
|
|
|
-#define HI(x) (x##.d[1])
|
|
-#define LO(x) (x##.d[0])
|
|
+#define HI(x) (x.d[1])
|
|
+#define LO(x) (x.d[0])
|
|
|
|
typedef struct {
|
|
qword dat;
|