modify json-c default build type, and fix up the assert() errors in testcase

This commit is contained in:
dota17
2020-02-29 15:32:42 +08:00
parent 30e00cf757
commit 2d44f865c3
4 changed files with 18 additions and 5 deletions

View File

@@ -1,6 +1,11 @@
#include "strerror_override.h"
#include "strerror_override_private.h"
#ifdef NDEBUG
#undef NDEBUG
#include <assert.h>
#else
#include <assert.h>
#endif
#include <stdio.h>
#include <string.h>