1
0
mirror of https://github.com/golang/go synced 2024-11-22 00:54:43 -07:00

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
This commit is contained in:
Ian Lance Taylor 2010-11-18 10:26:41 -08:00
parent 285298b975
commit d853b594b4

View File

@ -38,6 +38,7 @@ ginit(void)
thechar = '6';
thestring = "amd64";
dodefine("_64BIT");
listinit();
nstring = 0;
mnstring = 0;