Use _DEFAULT_SOURCE instead of _BSD_SOURCE, since _BSD_SOURCE is deprecated.

This commit is contained in:
Aaron Hamilton
2015-01-21 23:43:45 +00:00
parent 8773541f35
commit cf22aa9ff5
9 changed files with 9 additions and 9 deletions

View File

@@ -19,7 +19,7 @@
#ifdef __linux
#define _POSIX_C_SOURCE 200809L // for strdup and getline
#define _BSD_SOURCE // for strsep
#define _DEFAULT_SOURCE // for strsep
#else
#define _WITH_GETLINE // on freebsd for getline
#endif