libc_limits.h 399 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright (c) 2006-2021, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2020-09-05 Meco Man the first version
  9. */
  10. #ifndef LIBC_LIMITS_H__
  11. #define LIBC_LIMITS_H__
  12. #include <limits.h>
  13. #include <rtconfig.h>
  14. #ifdef RT_USING_POSIX
  15. #ifndef SSIZE_MAX
  16. # define SSIZE_MAX LONG_MAX
  17. #endif
  18. #endif
  19. #endif