Merge "Fix stdint.h intptr_t/uintptr_t for x86_64/x32"
This commit is contained in:
commit
cd927519a9
@ -191,8 +191,13 @@ typedef uint64_t uint_fast64_t;
|
|||||||
* intptr_t & uintptr_t
|
* intptr_t & uintptr_t
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef __LP64__
|
||||||
|
typedef long intptr_t;
|
||||||
|
typedef unsigned long uintptr_t;
|
||||||
|
#else
|
||||||
typedef int intptr_t;
|
typedef int intptr_t;
|
||||||
typedef unsigned int uintptr_t;
|
typedef unsigned int uintptr_t;
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __STDINT_LIMITS
|
#ifdef __STDINT_LIMITS
|
||||||
# define INTPTR_MIN INT32_MIN
|
# define INTPTR_MIN INT32_MIN
|
||||||
|
Loading…
x
Reference in New Issue
Block a user