posix_wrap: Flesh out posix_wrap/limits.h a little more
In addition to what was already there, Gnulib's <intprops.h> needs SCHAR_MIN, SCHAR_MAX, SHRT_MIN, INT_MIN, LONG_MIN, and LONG_MAX. Fixes build on CentOS 7. Reported-by: "Chen, Farrah" <farrah.chen@intel.com> Signed-off-by: Colin Watson <cjwatson@ubuntu.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
parent
67580c0068
commit
bcd29eea07
2 changed files with 12 additions and 3 deletions
|
@ -27,8 +27,14 @@
|
|||
#define ULONG_MAX GRUB_ULONG_MAX
|
||||
#define SIZE_MAX GRUB_SIZE_MAX
|
||||
|
||||
#define SCHAR_MIN GRUB_SCHAR_MIN
|
||||
#define SCHAR_MAX GRUB_SCHAR_MAX
|
||||
#define SHRT_MIN GRUB_SHRT_MIN
|
||||
#define SHRT_MAX GRUB_SHRT_MAX
|
||||
#define INT_MIN GRUB_INT_MIN
|
||||
#define INT_MAX GRUB_INT_MAX
|
||||
#define LONG_MIN GRUB_LONG_MIN
|
||||
#define LONG_MAX GRUB_LONG_MAX
|
||||
|
||||
#define CHAR_BIT 8
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue