• Joe Poirier's avatar
    build: test for _WIN32, not _MINGW32 · e21b3a40
    Joe Poirier authored
    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
    e21b3a40
Name
Last commit
Last update
..
Makefile Loading commit data...
acid.c Loading commit data...
bits.c Loading commit data...
cc.h Loading commit data...
cc.y Loading commit data...
com.c Loading commit data...
com64.c Loading commit data...
dcl.c Loading commit data...
doc.go Loading commit data...
dpchk.c Loading commit data...
funct.c Loading commit data...
lex.c Loading commit data...
lexbody Loading commit data...
mac.c Loading commit data...
macbody Loading commit data...
omachcap.c Loading commit data...
pgen.c Loading commit data...
pickle.c Loading commit data...
pswt.c Loading commit data...
scon.c Loading commit data...
sub.c Loading commit data...