forked from github/server
the _BSD_SOURCE macro was deprecated with glibc 2.12
This commit is contained in:
parent
43b8ff1ea8
commit
6079293fea
1 changed files with 1 additions and 6 deletions
|
@ -28,12 +28,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
#define _XOPEN_SOURCE 700
|
#define _XOPEN_SOURCE 700
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// enable bsd string extensions, prior to glibc 2.12:
|
// enable bsd string extensions, since glibc 2.12 (_BSD_SOURCE is dead):
|
||||||
#ifndef _BSD_SOURCE
|
|
||||||
#define _BSD_SOURCE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// enable bsd string extensions, since glibc 2.12:
|
|
||||||
#ifndef _POSIX_C_SOURCE
|
#ifndef _POSIX_C_SOURCE
|
||||||
#define _POSIX_C_SOURCE 200809L
|
#define _POSIX_C_SOURCE 200809L
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue