summaryrefslogtreecommitdiff
path: root/src/mesa/x86/assyntax.h
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2003-12-17 21:35:44 +0000
committerIan Romanick <idr@us.ibm.com>2003-12-17 21:35:44 +0000
commit63a5cbb177a24988a89ab95867fe91debec438d6 (patch)
treee403405ab65e4cfdae534570ffd5bf7771abf621 /src/mesa/x86/assyntax.h
parent829adaee79dbe33a1d86ee4110b2698e7d777012 (diff)
Fix to work with the C preprocessor in GCC 3.3.x.
Diffstat (limited to 'src/mesa/x86/assyntax.h')
-rw-r--r--src/mesa/x86/assyntax.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/x86/assyntax.h b/src/mesa/x86/assyntax.h
index 13f980d57d..f37bde3a7d 100644
--- a/src/mesa/x86/assyntax.h
+++ b/src/mesa/x86/assyntax.h
@@ -313,8 +313,8 @@
/* Addressing Modes */
/* Immediate Mode */
-#define ADDR(a) CHOICE(CONCAT($,a), CONCAT($,a), a)
-#define CONST(a) CHOICE(CONCAT($,a), CONCAT($,a), a)
+#define ADDR(a) CHOICE(CONCAT($,a), $a, a)
+#define CONST(a) CHOICE(CONCAT($,a), $a, a)
/* Indirect Mode */
#define CONTENT(a) CHOICE(a, a, (a)) /* take contents of variable */