This commit is contained in:
gandharva
2016-01-16 12:05:33 +01:00
committed by svenhoefer
parent d74d85d1db
commit 43bf709669
2 changed files with 8 additions and 4 deletions

View File

@@ -68,7 +68,11 @@ license you like.
// End of content of file: LICENSE
// //////////////////////////////////////////////////////////////////////
/* own assert() which does not abort... */
#define assert(x) do { \
if (x) \
fprintf(stderr, "JSONCPP:%s:%d assert(%s) failed\n", __func__, __LINE__, #x); \
} while (0)