You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

strerror_override.h 414 B

12345678910111213141516171819202122232425
  1. #ifndef _json_strerror_override_h_
  2. #define _json_strerror_override_h_
  3. #include "config.h"
  4. #include <errno.h>
  5. #include "json_object.h" /* for JSON_EXPORT */
  6. #ifdef __cplusplus
  7. extern "C" {
  8. #endif
  9. #include <string.h>
  10. JSON_EXPORT char *_json_c_strerror(int errno_in);
  11. #ifndef STRERROR_OVERRIDE_IMPL
  12. #define strerror _json_c_strerror
  13. #endif
  14. #ifdef __cplusplus
  15. }
  16. #endif
  17. #endif /* _json_strerror_override_h_ */