stdlib.h 566 B

123456789101112131415161718192021222324
  1. // The lack of #pragma once is intentional:
  2. // its presence breaks compilation of contrib/tools/unbound somehow.
  3. #if defined(__GNUC__) || defined(__clang__)
  4. #include_next <stdlib.h>
  5. #else
  6. #ifdef Y_UCRT_INCLUDE_NEXT
  7. #include Y_UCRT_INCLUDE_NEXT(stdlib.h)
  8. #else
  9. #define Y_UCRT_INCLUDE_NEXT(x) <Y_UCRT_INCLUDE/x>
  10. #include Y_UCRT_INCLUDE_NEXT(stdlib.h)
  11. #undef Y_UCRT_INCLUDE_NEXT
  12. #endif
  13. #endif
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17. void* reallocarray(void*, size_t, size_t);
  18. #ifdef __cplusplus
  19. } // extern "C"
  20. #endif