strerror_override.h 510 B

123456789101112131415161718192021222324252627282930
  1. #ifndef _json_strerror_override_h_
  2. #define _json_strerror_override_h_
  3. /**
  4. * @file
  5. * @brief Do not use, json-c internal, may be changed or removed at any time.
  6. */
  7. #include "config.h"
  8. #include <errno.h>
  9. #include "json_object.h" /* for JSON_EXPORT */
  10. #ifdef __cplusplus
  11. extern "C" {
  12. #endif
  13. #include <string.h>
  14. JSON_EXPORT char *_json_c_strerror(int errno_in);
  15. #ifndef STRERROR_OVERRIDE_IMPL
  16. #define strerror _json_c_strerror
  17. #endif
  18. #ifdef __cplusplus
  19. }
  20. #endif
  21. #endif /* _json_strerror_override_h_ */