summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurelien Jarno <aurel32@debian.org>2009-12-11 08:46:54 -0700
committerBrian Paul <brianp@vmware.com>2009-12-11 08:46:54 -0700
commitf7f1211b9b0a8fa0e5f5427b74b4eee4dabf65af (patch)
treea8b88e4b181dfa6bac144706ecdb289b1c7c4f1f
parent94fba49be97008565c0225bc46894bfd9453bb5e (diff)
sparc: additional preprocessor test for SPARC 64-bit
-rw-r--r--src/mesa/sparc/xform.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/sparc/xform.S b/src/mesa/sparc/xform.S
index f2b9674bf2..2a7cce41e5 100644
--- a/src/mesa/sparc/xform.S
+++ b/src/mesa/sparc/xform.S
@@ -17,7 +17,7 @@
#include "sparc_matrix.h"
-#if defined(SVR4) || defined(__SVR4) || defined(__svr4__)
+#if defined(SVR4) || defined(__SVR4) || defined(__svr4__) || defined(__arch64__)
/* Solaris requires this for 64-bit. */
.register %g2, #scratch
.register %g3, #scratch