mirror of https://github.com/RT-Thread/rt-thread
rttypes.h中增加了对ARCH_CPU_64BIT宏的判断
Signed-off-by: latercomer <latercomer@qq.com>
This commit is contained in:
parent
40360efe1d
commit
4c061ceffe
|
@ -32,6 +32,12 @@ extern "C" {
|
|||
* RT-Thread basic data types definition
|
||||
*/
|
||||
|
||||
#if defined(_WIN64) || defined(__x86_64__)
|
||||
#ifndef ARCH_CPU_64BIT
|
||||
#define ARCH_CPU_64BIT
|
||||
#endif // ARCH_CPU_64BIT
|
||||
#endif // defined(_WIN64) || defined(__x86_64__)
|
||||
|
||||
typedef int rt_bool_t; /**< boolean type */
|
||||
|
||||
#ifndef RT_USING_ARCH_DATA_TYPE
|
||||
|
|
Loading…
Reference in New Issue