mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-10-20 22:42:40 +08:00
[fix bugs]修改armlibc/sys/types.h 该文件中不能用rt_数据类型,否则会引起编译器递归编译
This commit is contained in:
@@ -5,16 +5,16 @@
|
|||||||
*
|
*
|
||||||
* Change Logs:
|
* Change Logs:
|
||||||
* Date Author Notes
|
* Date Author Notes
|
||||||
|
* 2020-09-05 Meco Man fix bugs
|
||||||
*/
|
*/
|
||||||
#ifndef __TYPES_H__
|
#ifndef __TYPES_H__
|
||||||
#define __TYPES_H__
|
#define __TYPES_H__
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <rtthread.h>
|
|
||||||
|
|
||||||
typedef rt_int32_t clockid_t;
|
typedef int32_t clockid_t;
|
||||||
typedef rt_int32_t key_t; /* Used for interprocess communication. */
|
typedef int32_t key_t; /* Used for interprocess communication. */
|
||||||
typedef rt_int32_t pid_t; /* Used for process IDs and process group IDs. */
|
typedef int32_t pid_t; /* Used for process IDs and process group IDs. */
|
||||||
#ifndef ARCH_CPU_64BIT
|
#ifndef ARCH_CPU_64BIT
|
||||||
typedef signed int ssize_t; /* Used for a count of bytes or an error indication. */
|
typedef signed int ssize_t; /* Used for a count of bytes or an error indication. */
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user