Files
json-c/strerror_override.h
Eric Haszlakiewicz fcad0ec015 PR #336: since we can't use function overriding (due to problems with it on
OSX) always include the _json_c_strerror function but only enable it with a flag
 during tests.
2017-07-15 07:12:44 -07:00

14 lines
264 B
C

#ifndef _json_strerror_override_h_
#define _json_strerror_override_h_
#include "config.h"
#include <errno.h>
char *_json_c_strerror(int errno_in);
#ifndef STRERROR_OVERRIDE_IMPL
#define strerror _json_c_strerror
#endif
#endif /* _json_strerror_override_h_ */