include: define _DEFAULT_SOURCE
_BSD_SOURCE and _SVID_SOURCE are deprecated in favor of _DEFAULT_SOURCE.
This commit is contained in:
parent
8de603bff1
commit
445b6293d6
@ -3,6 +3,7 @@
|
|||||||
#define _BSD_SOURCE 1
|
#define _BSD_SOURCE 1
|
||||||
#define _NETBSD_SOURCE 1 /* NetBSD */
|
#define _NETBSD_SOURCE 1 /* NetBSD */
|
||||||
#define _SVID_SOURCE 1
|
#define _SVID_SOURCE 1
|
||||||
|
#define _DEFAULT_SOURCE 1
|
||||||
#if !defined(__APPLE__) && !defined(__OpenBSD__)
|
#if !defined(__APPLE__) && !defined(__OpenBSD__)
|
||||||
# define _XOPEN_SOURCE 1000
|
# define _XOPEN_SOURCE 1000
|
||||||
# define _XOPEN_SOURCE_EXTENDED 1
|
# define _XOPEN_SOURCE_EXTENDED 1
|
||||||
|
Loading…
Reference in New Issue
Block a user