From 81699a0971c3ad1db2a24fb69d8d869cbe877026 Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Tue, 23 Sep 2014 14:48:18 -0400 Subject: [PATCH] Add +DEBUG to the raw version string for DEBUG builds. This will show up in the rpc server_info command. There is no impact on the version string for release builds. --- src/ripple/data/protocol/BuildInfo.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ripple/data/protocol/BuildInfo.cpp b/src/ripple/data/protocol/BuildInfo.cpp index 4fae5622b..46ff92d61 100644 --- a/src/ripple/data/protocol/BuildInfo.cpp +++ b/src/ripple/data/protocol/BuildInfo.cpp @@ -37,6 +37,9 @@ char const* BuildInfo::getRawVersionString () // // http://semver.org/ // +#ifdef DEBUG + "+DEBUG" +#endif //-------------------------------------------------------------------------- ;