From: Colin Watson Date: Mon, 23 Mar 2015 14:27:41 +0000 (+0000) Subject: hostfs: Drop unnecessary feature test macros X-Git-Tag: 2.02-beta3~352 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5974d4ba65fc5ad9253857bf992ffd3c635baf2a;p=thirdparty%2Fgrub.git hostfs: Drop unnecessary feature test macros _BSD_SOURCE was added to allow the use of DT_DIR, but that was removed in e768b77068a0b030a07576852bd0f121c9a077eb. While adding _DEFAULT_SOURCE as well works around problems with current glibc, neither is in fact needed nowadays. --- diff --git a/grub-core/kern/emu/hostfs.c b/grub-core/kern/emu/hostfs.c index 823116da6..7b28c001f 100644 --- a/grub-core/kern/emu/hostfs.c +++ b/grub-core/kern/emu/hostfs.c @@ -19,11 +19,6 @@ #include -/* 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 #include #include