libc_limits.h 422 B

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