mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 23:42:51 +02:00
jsoncpp: use own assert() macro which does not abort
Origin commit data
------------------
Branch: ni/coolstream
Commit: 73b5303cfc
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2016-01-10 (Sun, 10 Jan 2016)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
committed by
vanhofen
parent
00bf8a7e92
commit
717ed7e87c
@@ -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