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.

This commit is contained in:
Eric Haszlakiewicz committed 2017-07-15 07:07:28 -07:00
1 parent 40317f079e
commit 730ab7b019
1 file changed
+7
+7
View File
@@ -0,0 +1,7 @@
#ifndef __json_strerror_override_private_h__
#define __json_strerror_override_private_h__
/* Used by tests to get consistent output */
extern int _json_c_strerror_enable;
#endif