2009-07-13 Pavel Roskin <proski@gnu.org>
* kern/dl.c: Force native word size to suppress warnings when compiling grub-emu.
This commit is contained in:
parent
2df32b2c4a
commit
17dc3751c2
2 changed files with 6 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
|||
2009-07-13 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* kern/dl.c: Force native word size to suppress warnings when
|
||||
compiling grub-emu.
|
||||
|
||||
* kern/device.c (grub_device_iterate): Change struct part_ent to
|
||||
hold the name, not a pointer to it. Use one grub_malloc() per
|
||||
partition, not two. Free partition_name if grub_malloc() fails.
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
* along with GRUB. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Force native word size */
|
||||
#define GRUB_TARGET_WORDSIZE (8 * GRUB_CPU_SIZEOF_VOID_P)
|
||||
|
||||
#include <config.h>
|
||||
#include <grub/elf.h>
|
||||
#include <grub/dl.h>
|
||||
|
|
Loading…
Reference in a new issue