2007-10-27 Robert Millan <rmh@aybabtu.com>
* include/grub/types.h: Define ULONG_MAX.
This commit is contained in:
parent
2ebfc90fdb
commit
5cd7dd4654
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2007-10-27 Robert Millan <rmh@aybabtu.com>
|
||||
|
||||
* include/grub/types.h: Define ULONG_MAX.
|
||||
|
||||
2007-10-22 Robert Millan <rmh@aybabtu.com>
|
||||
|
||||
* kern/i386/pc/startup.S: Remove `"kern/i386/realmode.S"'. Include
|
||||
|
|
|
@ -92,6 +92,12 @@ typedef grub_uint32_t grub_size_t;
|
|||
typedef grub_int32_t grub_ssize_t;
|
||||
#endif
|
||||
|
||||
#if GRUB_CPU_SIZEOF_VOID_P == 8
|
||||
# define ULONG_MAX 18446744073709551615UL
|
||||
#else
|
||||
# define ULONG_MAX 4294967295UL
|
||||
#endif
|
||||
|
||||
/* The type for representing a file offset. */
|
||||
typedef grub_uint64_t grub_off_t;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue