Integer Precision for JSON <-> Protobuf conversions. Add PICOJSON_USE_INT64 flag to mesos compilation flags.
Review: https://reviews.apache.org/r/38030 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/ae9579d9 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/ae9579d9 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/ae9579d9 Branch: refs/heads/master Commit: ae9579d9249844703413eaec7c83c504aba247d0 Parents: 3be13b3 Author: Joseph Wu <[email protected]> Authored: Wed Sep 16 13:37:23 2015 -0400 Committer: Joris Van Remoortere <[email protected]> Committed: Wed Sep 16 17:44:52 2015 -0400 ---------------------------------------------------------------------- src/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/ae9579d9/src/Makefile.am ---------------------------------------------------------------------- diff --git a/src/Makefile.am b/src/Makefile.am index db2f8d9..967147e 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -106,6 +106,9 @@ MESOS_CPPFLAGS += -I../include/mesos MESOS_CPPFLAGS += -I../$(BOOST) MESOS_CPPFLAGS += -I../$(PICOJSON) +# Enable the INT64 support for PicoJSON. +MESOS_CPPFLAGS += -DPICOJSON_USE_INT64 + MESOS_CPPFLAGS += -I../$(PROTOBUF)/src MESOS_CPPFLAGS += -I../$(GLOG)/src
