Browse Source

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.

tags/json-c-0.13-20171207
Eric Haszlakiewicz 8 years ago
parent
commit
730ab7b019
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      strerror_override_private.h

+ 7
- 0
strerror_override_private.h 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

Loading…
Cancel
Save