]> Cypherpunks repositories - gostls13.git/commit
include/u.h: define _DEFAULT_SOURCE for new glibc
authorBobby Powers <bobbypowers@gmail.com>
Fri, 25 Jul 2014 15:54:09 +0000 (08:54 -0700)
committerIan Lance Taylor <iant@golang.org>
Fri, 25 Jul 2014 15:54:09 +0000 (08:54 -0700)
commitda8f677815d09e2c3fc2175d128087ae5cc65dae
treefc013ba3ee3b59cf4264f8bf55b090af818c4869
parent0f2cde8bdc9a6f31bc6a8ebbd0b078d9c49acb23
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
include/u.h