rt-thread-official/include/libc/libc_limits.h

26 lines
407 B
C
Raw Normal View History

2020-09-05 16:14:21 +08:00
/*
* 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
*/
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