Commit d853b594 authored by Ian Lance Taylor's avatar Ian Lance Taylor

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
https://golang.org/cl/3205041
parent 285298b9
...@@ -38,6 +38,7 @@ ginit(void) ...@@ -38,6 +38,7 @@ ginit(void)
thechar = '6'; thechar = '6';
thestring = "amd64"; thestring = "amd64";
dodefine("_64BIT");
listinit(); listinit();
nstring = 0; nstring = 0;
mnstring = 0; mnstring = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment