diff options
| author | aozima <[email protected]> | 2020-10-09 15:17:27 +0800 |
|---|---|---|
| committer | aozima <[email protected]> | 2020-10-09 15:17:27 +0800 |
| commit | 05777266b9dffe30df0bef15b35b710f6de21710 (patch) | |
| tree | 6453a68327fd2d7ffb3dcbf788bd5f6d8b209528 /include/libc/libc_limits.h | |
| parent | 79fd12842beeee5a653ba6f4bc2f08b21be7697a (diff) | |
| parent | aeff91b2a7fc846cf3724c01c28fbd7327bd2bac (diff) | |
Merge remote-tracking branch 'remotes/gitee/master' into gitee_master
Diffstat (limited to 'include/libc/libc_limits.h')
| -rw-r--r-- | include/libc/libc_limits.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/libc/libc_limits.h b/include/libc/libc_limits.h new file mode 100644 index 0000000000..b8368160df --- /dev/null +++ b/include/libc/libc_limits.h @@ -0,0 +1,25 @@ +/* + * Copyright (c) 2006-2018, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: + * Date Author Notes + * 2020-09-05 Meco Manthe first version + */ + +#ifndef LIBC_LIMITS_H__ +#define LIBC_LIMITS_H__ + +#include <limits.h> +#include <rtconfig.h> + +#ifdef RT_USING_POSIX + +#ifndef SSIZE_MAX +# define SSIZE_MAX LONG_MAX +#endif + +#endif + +#endif |
