Commit da8f677
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/1125300431 parent 0f2cde8 commit da8f677
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
0 commit comments