mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
hostfs: Drop unnecessary feature test macros
_BSD_SOURCE was added to allow the use of DT_DIR, but that was removed
in e768b77068. While adding
_DEFAULT_SOURCE as well works around problems with current glibc,
neither is in fact needed nowadays.
This commit is contained in:
1 parent
e9f68f1f4c
commit
5974d4ba65
1 file changed
-5
@@ -19,11 +19,6 @@
|
||||
|
||||
#include <config-util.h>
|
||||
|
||||
/* Legacy feature macro.*/
|
||||
#define _BSD_SOURCE
|
||||
/* New feature macro that provides everything _BSD_SOURCE and
|
||||
* _SVID_SOURCE provided and possibly more. */
|
||||
#define _DEFAULT_SOURCE
|
||||
#include <grub/fs.h>
|
||||
#include <grub/file.h>
|
||||
#include <grub/disk.h>
|
||||
|
||||
Reference in new issue
Block a user