go/src
Joe Poirier e21b3a40ac build: test for _WIN32, not _MINGW32
Use OS rather than compiler specific flag the same way that
__FreeBSD__, __APPLE__, __OpenBSD__, and __linux__ are used.

_WIN32 is defined by GCC (and others) on windows for Win32
and Win64 applications. _WIN32 is set by default for several
other windows based compilers: DMC, MSVC, Intel, Watcom, LCC.

Although the change is for consistency, it allows the Go tools
to be compiled with non-Mingw GCC distributions and non-GCC
compilers that support the GCC extensions.

R=rsc, brainman, vcc
CC=golang-dev
https://golang.org/cl/2168043
2010-09-08 22:20:35 -04:00
..
cmd build: test for _WIN32, not _MINGW32 2010-09-08 22:20:35 -04:00
lib9 build: test for _WIN32, not _MINGW32 2010-09-08 22:20:35 -04:00
libbio build: test for _WIN32, not _MINGW32 2010-09-08 22:20:35 -04:00
libcgo build: test for _WIN32, not _MINGW32 2010-09-08 22:20:35 -04:00
libmach build: $GOBIN defaults to $GOROOT/bin 2010-08-24 20:00:33 -04:00
pkg runtime: fix windows build 2010-09-09 12:09:10 +10:00
Make.ccmd build: implement NOINSTALL=1 for Make.ccmd 2010-09-03 15:37:57 -04:00
Make.clib build: fix build - last CL missed Make.clib 2010-08-24 20:15:52 -04:00
Make.cmd build: $GOBIN defaults to $GOROOT/bin 2010-08-24 20:00:33 -04:00
Make.common build: remove unnecessary references to GOBIN and GOROOT 2010-08-30 15:40:56 -04:00
Make.inc build: $GOBIN defaults to $GOROOT/bin 2010-08-24 20:00:33 -04:00
Make.pkg build: work with GNU Make 3.82 2010-09-07 15:14:14 -04:00
all-arm.bash arm: toss make-arm.bash 2010-02-03 20:46:37 -08:00
all-nacl.bash nacl: another attempt at fixing build 2010-05-03 11:12:54 -07:00
all.bash build: $GOBIN defaults to $GOROOT/bin 2010-08-24 20:00:33 -04:00
clean.bash build: remove unnecessary references to GOBIN and GOROOT 2010-08-30 15:40:56 -04:00
env.bash build: create bin and pkg directories as needed; drop from hg 2010-09-02 14:20:02 -04:00
make.bash build: create bin and pkg directories as needed; drop from hg 2010-09-02 14:20:02 -04:00
quietgcc.bash build: remove unnecessary references to GOBIN and GOROOT 2010-08-30 15:40:56 -04:00
run.bash build: remove unnecessary references to GOBIN and GOROOT 2010-08-30 15:40:56 -04:00
sudo.bash build: no required environment variables 2010-08-18 10:08:49 -04:00
version.bash version.bash: cope with ancient Mercurial 2010-03-16 18:45:06 -07:00