File tree 2 files changed +12
-3
lines changed
2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -653,9 +653,6 @@ class JSON_API ValueIteratorBase {
653
653
typedef int difference_type;
654
654
typedef ValueIteratorBase SelfType;
655
655
656
- ValueIteratorBase ();
657
- explicit ValueIteratorBase (const Value::ObjectValues::iterator& current);
658
-
659
656
bool operator ==(const SelfType& other) const { return isEqual (other); }
660
657
661
658
bool operator !=(const SelfType& other) const { return !isEqual (other); }
@@ -703,6 +700,12 @@ class JSON_API ValueIteratorBase {
703
700
Value::ObjectValues::iterator current_;
704
701
// Indicates that iterator is for a null value.
705
702
bool isNull_;
703
+
704
+ public:
705
+ // For some reason, BORLAND needs these at the end, rather
706
+ // than earlier. No idea why.
707
+ ValueIteratorBase ();
708
+ explicit ValueIteratorBase (const Value::ObjectValues::iterator& current);
706
709
};
707
710
708
711
/* * \brief const iterator for object and array value.
Original file line number Diff line number Diff line change 33
33
#define snprintf std::snprintf
34
34
#endif
35
35
36
+ #if defined(__BORLANDC__)
37
+ #include < float.h>
38
+ #define isfinite _finite
39
+ #define snprintf _snprintf
40
+ #endif
41
+
36
42
#if defined(_MSC_VER) && _MSC_VER >= 1400 // VC++ 8.0
37
43
// Disable warning about strdup being deprecated.
38
44
#pragma warning(disable : 4996)
You can’t perform that action at this time.
0 commit comments