1
0
mirror of https://github.com/golang/go synced 2024-10-04 13:21:22 -06:00
go/src/libbio
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
..
bbuffered.c import the plan 9 libraries libc (lib9) and libbio into the tree. 2008-06-12 13:26:16 -07:00
bfildes.c import the plan 9 libraries libc (lib9) and libbio into the tree. 2008-06-12 13:26:16 -07:00
bflush.c import the plan 9 libraries libc (lib9) and libbio into the tree. 2008-06-12 13:26:16 -07:00
bgetc.c import the plan 9 libraries libc (lib9) and libbio into the tree. 2008-06-12 13:26:16 -07:00
bgetd.c import the plan 9 libraries libc (lib9) and libbio into the tree. 2008-06-12 13:26:16 -07:00
bgetrune.c convert C runtime to 32-bit runes; 2009-08-31 16:38:50 -07:00
binit.c Ports of lib9, libbio and libmach to Windows. 2009-11-30 11:53:11 -08:00
boffset.c 6l: 2008-10-20 17:33:51 -07:00
bprint.c libbio: fix Bprint bug 2010-08-10 17:38:28 -07:00
bputc.c import the plan 9 libraries libc (lib9) and libbio into the tree. 2008-06-12 13:26:16 -07:00
bputrune.c convert C runtime to 32-bit runes; 2009-08-31 16:38:50 -07:00
brdline.c import the plan 9 libraries libc (lib9) and libbio into the tree. 2008-06-12 13:26:16 -07:00
brdstr.c import the plan 9 libraries libc (lib9) and libbio into the tree. 2008-06-12 13:26:16 -07:00
bread.c import the plan 9 libraries libc (lib9) and libbio into the tree. 2008-06-12 13:26:16 -07:00
bseek.c build: test for _WIN32, not _MINGW32 2010-09-08 22:20:35 -04:00
bwrite.c import the plan 9 libraries libc (lib9) and libbio into the tree. 2008-06-12 13:26:16 -07:00
Makefile build: $GOBIN defaults to $GOROOT/bin 2010-08-24 20:00:33 -04:00