]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.3] include/u.h: define _DEFAULT_SOURCE for new glibc
authorAndrew Gerrand <adg@golang.org>
Mon, 11 Aug 2014 23:38:23 +0000 (09:38 +1000)
committerIan Lance Taylor <iant@golang.org>
Mon, 11 Aug 2014 23:38:23 +0000 (09:38 +1000)
commitb48cd4b9dcb6cefb8dcff6ee571234620a879b68
tree43941955a84f45f4a618f4ef540566a4677f2d2b
parent1798bb298f5339f7aebcac819e70f3314926fcb5
[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
include/u.h