Merge "Add minimal supports to build multilib x86 toolchain with OpenMP"

This commit is contained in:
Andrew Hsieh
2013-08-06 01:21:03 +00:00
committed by Gerrit Code Review

View File

@@ -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