76 #ifndef JSON_FORWARD_AMALGATED_H_INCLUDED
77 # define JSON_FORWARD_AMALGATED_H_INCLUDED
78 #define JSON_IS_AMALGAMATION
91 #ifndef JSON_CONFIG_H_INCLUDED
92 # define JSON_CONFIG_H_INCLUDED
114 # ifndef JSON_USE_EXCEPTION
115 # define JSON_USE_EXCEPTION 1
124 # ifdef JSON_IN_CPPTL
125 # include <cpptl/config.h>
126 # ifndef JSON_USE_CPPTL
127 # define JSON_USE_CPPTL 1
131 # ifdef JSON_IN_CPPTL
132 # define JSON_API CPPTL_API
133 # elif defined(JSON_DLL_BUILD)
134 # define JSON_API __declspec(dllexport)
135 # elif defined(JSON_DLL)
136 # define JSON_API __declspec(dllimport)
145 #if defined(_MSC_VER) && _MSC_VER <= 1200 // MSVC 6
148 #define JSON_USE_INT64_DOUBLE_CONVERSION 1
149 #endif // if defined(_MSC_VER) && _MSC_VER < 1200 // MSVC 6
151 #if defined(_MSC_VER) && _MSC_VER >= 1500 // MSVC 2008
152 # define JSONCPP_DEPRECATED(message) __declspec(deprecated(message))
156 #if !defined(JSONCPP_DEPRECATED)
157 # define JSONCPP_DEPRECATED(message)
158 #endif // if !defined(JSONCPP_DEPRECATED)
162 typedef unsigned int UInt;
163 # if defined(JSON_NO_INT64)
164 typedef int LargestInt;
165 typedef unsigned int LargestUInt;
166 # undef JSON_HAS_INT64
167 # else // if defined(JSON_NO_INT64)
169 # if defined(_MSC_VER) // Microsoft Visual Studio
170 typedef __int64 Int64;
171 typedef unsigned __int64 UInt64;
172 # else // if defined(_MSC_VER) // Other platforms, use long long
173 typedef long long int Int64;
174 typedef unsigned long long int UInt64;
175 # endif // if defined(_MSC_VER)
176 typedef Int64 LargestInt;
177 typedef UInt64 LargestUInt;
178 # define JSON_HAS_INT64
179 # endif // if defined(JSON_NO_INT64)
183 #endif // JSON_CONFIG_H_INCLUDED
203 #ifndef JSON_FORWARDS_H_INCLUDED
204 # define JSON_FORWARDS_H_INCLUDED
206 #if !defined(JSON_IS_AMALGAMATION)
208 #endif // if !defined(JSON_IS_AMALGAMATION)
223 typedef unsigned int ArrayIndex;
228 class ValueIteratorBase;
230 class ValueConstIterator;
231 #ifdef JSON_VALUE_USE_INTERNAL_MAP
232 class ValueMapAllocator;
233 class ValueInternalLink;
234 class ValueInternalArray;
235 class ValueInternalMap;
236 #endif // #ifdef JSON_VALUE_USE_INTERNAL_MAP
241 #endif // JSON_FORWARDS_H_INCLUDED
251 #endif //ifndef JSON_FORWARD_AMALGATED_H_INCLUDED