1
0
mirror of https://github.com/golang/go synced 2024-11-24 00:00:23 -07:00
go/include
David du Colombier 7522e135a3 include: declare getgohostos and getgohostarch on Plan 9
The function getgohostos and getgohostarch
were declared in include/libc.h in CL 3042.

Change-Id: Ib4ff5182cb71cc79a99663ce727fa4c28d15d7ad
Reviewed-on: https://go-review.googlesource.com/3122
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2015-01-21 20:23:21 +00:00
..
plan9 include: declare getgohostos and getgohostarch on Plan 9 2015-01-21 20:23:21 +00:00
ar.h
bio.h build: annotations and modifications for c2go 2014-07-02 15:41:29 -04:00
fmt.h
libc.h [dev.cc] cmd/dist, lib9: make GOHOSTARCH, GOHOSTOS available to C programs 2015-01-21 00:44:50 +00:00
link.h [dev.cc] liblink: invoke 'go tool objwriter' to implement writeobj, if directed 2015-01-21 03:15:04 +00:00
README
u.h include/u.h: define _DEFAULT_SOURCE for new glibc 2014-07-25 08:54:09 -07:00
utf.h

The header files under this directory are strictly internal to the gc
toolchain, so please don't copy them to the system include file
directory (/usr/include, /usr/local/include, etc.)

Also note that they must be kept as is in $GOROOT/include, or cmd/dist
will malfunction.