2020-09-05 16:14:21 +08:00
|
|
|
/*
|
2021-03-08 17:22:21 +08:00
|
|
|
* Copyright (c) 2006-2021, RT-Thread Development Team
|
2020-09-05 16:14:21 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* Change Logs:
|
2021-03-08 17:22:21 +08:00
|
|
|
* Date Author Notes
|
|
|
|
* 2020-09-05 Meco Man the first version
|
2020-09-05 16:14:21 +08:00
|
|
|
*/
|
|
|
|
|
2020-09-05 16:21:00 +08:00
|
|
|
#ifndef LIBC_LIMITS_H__
|
|
|
|
#define LIBC_LIMITS_H__
|
2020-09-05 16:14:21 +08:00
|
|
|
|
|
|
|
#include <limits.h>
|
2020-09-06 12:31:42 +08:00
|
|
|
#include <rtconfig.h>
|
2020-09-05 16:14:21 +08:00
|
|
|
|
2020-09-05 18:10:30 +08:00
|
|
|
#ifdef RT_USING_POSIX
|
|
|
|
|
2020-09-05 16:14:21 +08:00
|
|
|
#ifndef SSIZE_MAX
|
|
|
|
# define SSIZE_MAX LONG_MAX
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|
2020-09-05 18:10:30 +08:00
|
|
|
|
|
|
|
#endif
|