mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
jsoncpp: use own assert() macro which does not abort
This commit is contained in:
@@ -68,6 +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)
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user