Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/miloyip/rapidjson.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilo Yip <miloyip@gmail.com>2016-02-08 20:27:22 +0300
committerMilo Yip <miloyip@gmail.com>2016-02-08 20:27:22 +0300
commit5af344b9d988132b23572ab997fcbf0c3229ae13 (patch)
tree2ced4f059917ed90a5f666dbf97645ede0dd8eab /example/jsonx/jsonx.cpp
parentb5d939b71ba7e77abe92bca4ac12d9eb2996a249 (diff)
Add comment for -D__STDC_FORMAT_MACROS
Diffstat (limited to 'example/jsonx/jsonx.cpp')
-rw-r--r--example/jsonx/jsonx.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/example/jsonx/jsonx.cpp b/example/jsonx/jsonx.cpp
index 2fb6c9f2..c253ac09 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"