Skip to content

Commit

Permalink
PR #336: since we can't use function overriding (due to problems with…
Browse files Browse the repository at this point in the history
… it on OSX) always include the _json_c_strerror function but only enable it with a flag during tests.
  • Loading branch information
hawicz committed Jul 15, 2017
1 parent 40317f0 commit 730ab7b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions strerror_override_private.h
@@ -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

0 comments on commit 730ab7b

Please sign in to comment.