Add version macros for RapidJSON

This commit is contained in:
miloyip
2015-04-21 16:38:49 +08:00
parent 8d39282af5
commit 5ab1e9361d
3 changed files with 39 additions and 7 deletions

View File

@@ -13,10 +13,13 @@
// specific language governing permissions and limitations under the License.
#include "unittest.h"
#include "rapidjson/rapidjson.h"
int main(int argc, char **argv) {
::testing::InitGoogleTest(&argc, argv);
std::cout << "RapidJSON v" << RAPIDJSON_VERSION_STRING << std::endl;
#if _MSC_VER
_CrtMemState memoryState = { 0 };
_CrtMemCheckpoint(&memoryState);