From: Ian Lance Taylor Date: Thu, 18 Nov 2010 18:26:41 +0000 (-0800) Subject: 6c: automatically #define _64BIT. X-Git-Tag: weekly.2010-11-23~15 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d853b594b431ad86cfea78e06847a8319280982b;p=gostls13.git 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 --- diff --git a/src/cmd/6c/txt.c b/src/cmd/6c/txt.c index 9a94ca201b..29b2e1312d 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;