~ubuntu-branches/debian/stretch/grub2/stretch

« back to all changes in this revision

Viewing changes to include/grub/types.h

Tags: upstream-1.98+20100705
ImportĀ upstreamĀ versionĀ 1.98+20100705

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
typedef grub_uint64_t   grub_addr_t;
93
93
typedef grub_uint64_t   grub_size_t;
94
94
typedef grub_int64_t    grub_ssize_t;
 
95
 
 
96
# if GRUB_CPU_SIZEOF_LONG == 8
 
97
#  define PRIxGRUB_SIZE "lx"
 
98
# else
 
99
#  define PRIxGRUB_SIZE "llx"
 
100
# endif
95
101
#else
96
102
typedef grub_uint32_t   grub_addr_t;
97
103
typedef grub_uint32_t   grub_size_t;
98
104
typedef grub_int32_t    grub_ssize_t;
 
105
 
 
106
# define PRIxGRUB_SIZE  "x"
99
107
#endif
100
108
 
101
109
#if GRUB_CPU_SIZEOF_LONG == 8