1
0
mirror of https://github.com/golang/go synced 2024-11-22 08:54:39 -07:00
go/src/lib9
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
..
fmt fix build after Mercurial move. 2009-10-22 10:59:27 -07:00
utf fix build after Mercurial move. 2009-10-22 10:59:27 -07:00
_exits.c import the plan 9 libraries libc (lib9) and libbio into the tree. 2008-06-12 13:26:16 -07:00
_p9dir.c Ports of lib9, libbio and libmach to Windows. 2009-11-30 11:53:11 -08:00
argv0.c inline lib9.h 2009-08-17 15:14:59 -07:00
atoi.c import the plan 9 libraries libc (lib9) and libbio into the tree. 2008-06-12 13:26:16 -07:00
await.c import the plan 9 libraries libc (lib9) and libbio into the tree. 2008-06-12 13:26:16 -07:00
cleanname.c import the plan 9 libraries libc (lib9) and libbio into the tree. 2008-06-12 13:26:16 -07:00
create.c Ports of lib9, libbio and libmach to Windows. 2009-11-30 11:53:11 -08:00
dirfstat.c import the plan 9 libraries libc (lib9) and libbio into the tree. 2008-06-12 13:26:16 -07:00
dirfwstat.c build: test for _WIN32, not _MINGW32 2010-09-08 22:20:35 -04:00
dirstat.c build: test for _WIN32, not _MINGW32 2010-09-08 22:20:35 -04:00
dirwstat.c import the plan 9 libraries libc (lib9) and libbio into the tree. 2008-06-12 13:26:16 -07:00
dup.c import the plan 9 libraries libc (lib9) and libbio into the tree. 2008-06-12 13:26:16 -07:00
errstr.c import the plan 9 libraries libc (lib9) and libbio into the tree. 2008-06-12 13:26:16 -07:00
exec.c import the plan 9 libraries libc (lib9) and libbio into the tree. 2008-06-12 13:26:16 -07:00
execl.c import the plan 9 libraries libc (lib9) and libbio into the tree. 2008-06-12 13:26:16 -07:00
exitcode.c import the plan 9 libraries libc (lib9) and libbio into the tree. 2008-06-12 13:26:16 -07:00
exits.c add exits 2009-08-13 18:22:44 -07:00
fmtlock2.c import the plan 9 libraries libc (lib9) and libbio into the tree. 2008-06-12 13:26:16 -07:00
fork.c import the plan 9 libraries libc (lib9) and libbio into the tree. 2008-06-12 13:26:16 -07:00
getenv.c import the plan 9 libraries libc (lib9) and libbio into the tree. 2008-06-12 13:26:16 -07:00
getfields.c inline lib9.h 2009-08-17 15:14:59 -07:00
getuser.c import the plan 9 libraries libc (lib9) and libbio into the tree. 2008-06-12 13:26:16 -07:00
getwd.c import the plan 9 libraries libc (lib9) and libbio into the tree. 2008-06-12 13:26:16 -07:00
goos.c *l/*c: add -V flag to display version number 2010-02-08 09:46:53 -08:00
jmp.c import the plan 9 libraries libc (lib9) and libbio into the tree. 2008-06-12 13:26:16 -07:00
main.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
nan.c fix build after Mercurial move. 2009-10-22 10:59:27 -07:00
notify.c import the plan 9 libraries libc (lib9) and libbio into the tree. 2008-06-12 13:26:16 -07:00
nulldir.c import the plan 9 libraries libc (lib9) and libbio into the tree. 2008-06-12 13:26:16 -07:00
open.c Ports of lib9, libbio and libmach to Windows. 2009-11-30 11:53:11 -08:00
readn.c inline lib9.h 2009-08-17 15:14:59 -07:00
rfork.c import the plan 9 libraries libc (lib9) and libbio into the tree. 2008-06-12 13:26:16 -07:00
seek.c import the plan 9 libraries libc (lib9) and libbio into the tree. 2008-06-12 13:26:16 -07:00
strecpy.c inline lib9.h 2009-08-17 15:14:59 -07:00
sysfatal.c import the plan 9 libraries libc (lib9) and libbio into the tree. 2008-06-12 13:26:16 -07:00
time.c build: test for _WIN32, not _MINGW32 2010-09-08 22:20:35 -04:00
tokenize.c inline lib9.h 2009-08-17 15:14:59 -07:00
win32.c Ports of lib9, libbio and libmach to Windows. 2009-11-30 11:53:11 -08:00