mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 10:37:38 -04:00
libc: We need to define SIZE_MAX in our stdint.h
Change-Id: Ifbf7ad4ea62c5543bcc7e0bd18d612d30d60b63e
This commit is contained in:
parent
2a825b866a
commit
6f542b6540
1 changed files with 3 additions and 0 deletions
|
@ -45,6 +45,7 @@
|
||||||
/* 32 bit */
|
/* 32 bit */
|
||||||
#if ULONG_MAX == 0xfffffffful
|
#if ULONG_MAX == 0xfffffffful
|
||||||
|
|
||||||
|
#define SIZE_MAX ULONG_MAX
|
||||||
#define INT32_MIN LONG_MIN
|
#define INT32_MIN LONG_MIN
|
||||||
#define INT32_MAX LONG_MAX
|
#define INT32_MAX LONG_MAX
|
||||||
#define UINT32_MAX ULONG_MAX
|
#define UINT32_MAX ULONG_MAX
|
||||||
|
@ -59,6 +60,7 @@
|
||||||
|
|
||||||
#elif UINT_MAX == 0xffffffffu
|
#elif UINT_MAX == 0xffffffffu
|
||||||
|
|
||||||
|
#define SIZE_MAX UINT_MAX
|
||||||
#define INT32_MIN INT_MIN
|
#define INT32_MIN INT_MIN
|
||||||
#define INT32_MAX INT_MAX
|
#define INT32_MAX INT_MAX
|
||||||
#define UINT32_MAX UINT_MAX
|
#define UINT32_MAX UINT_MAX
|
||||||
|
@ -82,6 +84,7 @@
|
||||||
|
|
||||||
#if ULONG_MAX == 0xffffffffffffffffull
|
#if ULONG_MAX == 0xffffffffffffffffull
|
||||||
|
|
||||||
|
#define SIZE_MAX ULONG_MAX
|
||||||
#define INT64_MIN LONG_MIN
|
#define INT64_MIN LONG_MIN
|
||||||
#define INT64_MAX LONG_MAX
|
#define INT64_MAX LONG_MAX
|
||||||
#define UINT64_MAX ULONG_MAX
|
#define UINT64_MAX ULONG_MAX
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue