Origin commit data
------------------
Commit: 43bf709669
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2016-01-16 (Sat, 16 Jan 2016)

Origin message was:
------------------
- re-apply 05548822da
This commit is contained in:
gixxpunk
2016-01-16 12:05:33 +01:00
committed by vanhofen
parent 4e89964840
commit 2b0719673a
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)

View File

@@ -198,7 +198,7 @@ static inline void fixNumericLocale(char* begin, char* end) {
#endif // if !defined(JSON_IS_AMALGAMATION)
#include <utility>
#include <cstdio>
#include <cassert>
//#include <cassert>
#include <cstring>
#include <istream>
#include <sstream>
@@ -2195,7 +2195,7 @@ ValueIterator& ValueIterator::operator=(const SelfType& other) {
#include <sstream>
#include <utility>
#include <cstring>
#include <cassert>
//#include <cassert>
#ifdef JSON_USE_CPPTL
#include <cpptl/conststring.h>
#endif
@@ -3725,7 +3725,7 @@ Value& Path::make(Value& root) const {
#include <sstream>
#include <utility>
#include <set>
#include <cassert>
//#include <cassert>
#include <cstring>
#include <cstdio>