• 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...
bbuffered.c Loading commit data...
bfildes.c Loading commit data...
bflush.c Loading commit data...
bgetc.c Loading commit data...
bgetd.c Loading commit data...
bgetrune.c Loading commit data...
binit.c Loading commit data...
boffset.c Loading commit data...
bprint.c Loading commit data...
bputc.c Loading commit data...
bputrune.c Loading commit data...
brdline.c Loading commit data...
brdstr.c Loading commit data...
bread.c Loading commit data...
bseek.c Loading commit data...
bwrite.c Loading commit data...