1
0
mirror of https://github.com/golang/go synced 2024-11-24 21:00:09 -07:00
go/src/cmd/cc
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
..
acid.c
bits.c
cc.h fix spelling of align 2010-03-26 09:56:57 -07:00
cc.y fix spelling of align 2010-03-26 09:56:57 -07:00
com64.c
com.c amd64: use segment memory for thread-local storage 2010-08-04 17:50:22 -07:00
dcl.c fix spelling of align 2010-03-26 09:56:57 -07:00
doc.go tweak documentation of commands 2009-11-09 11:45:15 -08:00
dpchk.c Add support for #pragma dynexport. 2010-03-23 06:46:30 -07:00
funct.c
lex.c build: test for _WIN32, not _MINGW32 2010-09-08 22:20:35 -04:00
lexbody Add support for #pragma dynexport. 2010-03-23 06:46:30 -07:00
mac.c
macbody Add support for #pragma dynexport. 2010-03-23 06:46:30 -07:00
Makefile build: $GOBIN defaults to $GOROOT/bin 2010-08-24 20:00:33 -04:00
omachcap.c
pgen.c cc: disallow ... argument unless NOSPLIT is set. 2010-03-04 15:34:25 -08:00
pickle.c
pswt.c
scon.c
sub.c