diff options
author | Ian Lance Taylor <iant@golang.org> | 2010-11-18 10:26:41 -0800 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2010-11-18 10:26:41 -0800 |
commit | 7952ef7a1e66ea69119d07b04691e92fe66e1261 (patch) | |
tree | 4040c80ed8dba0b1e06c13d08284a19f392e2918 /src | |
parent | 753e4c99686f959cf655a900519e290e97108926 (diff) | |
download | go-7952ef7a1e66ea69119d07b04691e92fe66e1261.tar.gz |
6c: automatically #define _64BIT.
This makes it much easier to use a tool like Swig which needs
to run either 8c or 6c on generated code which #include's
"runtime.h".
R=ken2, rsc
CC=golang-dev
http://codereview.appspot.com/3205041
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd/6c/txt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/6c/txt.c b/src/cmd/6c/txt.c index 9a94ca201..29b2e1312 100644 --- a/src/cmd/6c/txt.c +++ b/src/cmd/6c/txt.c @@ -38,6 +38,7 @@ ginit(void) thechar = '6'; thestring = "amd64"; + dodefine("_64BIT"); listinit(); nstring = 0; mnstring = 0; |