sparc: additional preprocessor test for SPARC 64-bit
authorAurelien Jarno <aurel32@debian.org>
Fri, 11 Dec 2009 15:46:54 +0000 (08:46 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 11 Dec 2009 15:46:54 +0000 (08:46 -0700)
src/mesa/sparc/xform.S

index f2b9674bf2d7b28185764eaa1b5a8339d2d9b94e..2a7cce41e5ad78b19e44df54432295121d9c1836 100644 (file)
@@ -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