Change the strerror_override handling to check $_JSON_C_STRERROR_OVERRIDE instead of using a variable, so we don't need to export it.

This commit is contained in:
Eric Haszlakiewicz committed 2020-07-04 18:58:00 +00:00
1 parent b01d50b8dc
commit 6068d3f6d1
5 files changed
+11 -7

No files matched your search

-2
View File
@@ -127,8 +127,6 @@ int main(int argc, char **argv)
// json_object_to_file(file, obj);
// json_object_to_file_ext(file, obj, flags);
_json_c_strerror_enable = 1;
const char *testdir;
if (argc < 2)
{