1
0
mirror of https://github.com/golang/go synced 2024-10-04 09:11:21 -06:00
go/src/cmd/godefs
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
..
a.h Ported godefs to Windows. 2009-12-13 12:21:44 -08:00
doc.go gofmt'ed godefs 2009-11-05 15:35:53 -08:00
main.c build: test for _WIN32, not _MINGW32 2010-09-08 22:20:35 -04:00
Makefile build: $GOBIN defaults to $GOROOT/bin 2010-08-24 20:00:33 -04:00
stabs.c make godefs work better for generating Go. 2009-06-01 22:14:25 -07:00
util.c new tool godefs. 2009-03-30 00:21:25 -07:00