Added
Link Here
|
1 |
Index: include/machine.h |
2 |
=================================================================== |
3 |
RCS file: /cvsroot/brlcad/brlcad/include/machine.h,v |
4 |
retrieving revision 14.20 |
5 |
diff -u -r14.20 machine.h |
6 |
--- include/machine.h 18 Sep 2006 05:24:07 -0000 14.20 |
7 |
+++ include/machine.h 14 Nov 2006 18:00:33 -0000 |
8 |
@@ -611,7 +611,8 @@ |
9 |
|
10 |
#endif |
11 |
|
12 |
-#if defined(__sparc64__) |
13 |
+/* TODO: should this be looking for solaris/sunos tags? */ |
14 |
+#if defined(__sparc64__) && !defined(__FreeBSD__) |
15 |
/******************************** |
16 |
* * |
17 |
* Sparc 64 * |
18 |
@@ -702,11 +703,11 @@ |
19 |
# define LOCAL auto /* static|auto, for serial|parallel cpu */ |
20 |
|
21 |
/* amd64 */ |
22 |
-# if defined(__x86_64__) |
23 |
+# if defined(__x86_64__) || defined(__sparc64__) || defined(__ia64__) |
24 |
# define BITV_SHIFT 6 |
25 |
# define MAX_PSW 256 |
26 |
/* ia32 */ |
27 |
-# elif !defined(__ia64__) && !defined(__x86_64__) && !defined(__sparc64__) |
28 |
+# else |
29 |
# define BITV_SHIFT 5 |
30 |
# define MAX_PSW 16 |
31 |
# endif |