From 5af344b9d988132b23572ab997fcbf0c3229ae13 Mon Sep 17 00:00:00 2001 From: Milo Yip Date: Tue, 9 Feb 2016 01:27:22 +0800 Subject: [PATCH] Add comment for -D__STDC_FORMAT_MACROS --- example/jsonx/jsonx.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/example/jsonx/jsonx.cpp b/example/jsonx/jsonx.cpp index 2fb6c9f..c253ac0 100644 --- a/example/jsonx/jsonx.cpp +++ b/example/jsonx/jsonx.cpp @@ -3,6 +3,7 @@ // https://www-01.ibm.com/support/knowledgecenter/SS9H2Y_7.1.0/com.ibm.dp.doc/json_jsonx.html // This example parses JSON text from stdin with validation, // and convert to JSONx format to stdout. +// Need compile with -D__STDC_FORMAT_MACROS for defining PRId64 and PRIu64 macros. #include "rapidjson/reader.h" #include "rapidjson/stringbuffer.h"