go/include
Andrew Gerrand b48cd4b9dc [release-branch.go1.3] include/u.h: define _DEFAULT_SOURCE for new glibc
««« CL 112530043 / c8059ac4e0ec
include/u.h: define _DEFAULT_SOURCE for new glibc

glibc devs have apparently decided _BSD_SOURCE will be
deprecated on Linux, and issue a preprocessor warning if
declaring _BSD_SOURCE without _DEFAULT_SOURCE.

https://sourceware.org/glibc/wiki/Release/2.20

Fixes #8397.

LGTM=iant
R=dave, gobot, iant
CC=golang-codereviews
https://golang.org/cl/112530043

»»»

TBR=rsc
CC=golang-codereviews
https://golang.org/cl/124150043
2014-08-12 09:38:23 +10:00
..
plan9 include/plan9: make mklibc.rc compatible with 9atom 2014-04-19 09:55:09 +02:00
README include: add a README file 2013-05-22 18:51:15 +08:00
ar.h gopack: change archive file name length back to 16 2011-11-01 00:29:16 -04:00
bio.h libbio, libmach: warnings from the Plan 9 tool chain 2014-04-07 08:40:13 -07:00
fmt.h convert C runtime to 32-bit runes; 2009-08-31 16:38:50 -07:00
libc.h cmd/dist, cmd/ld: GO_EXTLINK_ENABLED=0 defaults to -linkmode=internal 2013-03-29 16:33:35 -07:00
link.h liblink: fix field tracking 2014-05-20 00:30:58 -04:00
u.h [release-branch.go1.3] include/u.h: define _DEFAULT_SOURCE for new glibc 2014-08-12 09:38:23 +10:00
utf.h add missing include file 2008-06-12 13:31:17 -07:00

README

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.