diff options
Diffstat (limited to 'lib/jsoncpp/include/json/writer.h')
-rw-r--r-- | lib/jsoncpp/include/json/writer.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/lib/jsoncpp/include/json/writer.h b/lib/jsoncpp/include/json/writer.h index cfa92c6ae4..2ee13ded93 100644 --- a/lib/jsoncpp/include/json/writer.h +++ b/lib/jsoncpp/include/json/writer.h @@ -1,3 +1,8 @@ +// Copyright 2007-2010 Baptiste Lepilleur +// Distributed under MIT license, or public domain if desired and +// recognized in your jurisdiction. +// See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE + #ifndef JSON_WRITER_H_INCLUDED # define JSON_WRITER_H_INCLUDED @@ -157,8 +162,12 @@ namespace Json { bool addChildValues_; }; - std::string JSON_API valueToString( Value::Int value ); - std::string JSON_API valueToString( Value::UInt value ); +# if defined(JSON_HAS_INT64) + std::string JSON_API valueToString( Int value ); + std::string JSON_API valueToString( UInt value ); +# endif // if defined(JSON_HAS_INT64) + std::string JSON_API valueToString( LargestInt value ); + std::string JSON_API valueToString( LargestUInt value ); std::string JSON_API valueToString( double value ); std::string JSON_API valueToString( bool value ); std::string JSON_API valueToQuotedString( const char *value ); |