Browse Source
build: Remove -DBOOST_SPIRIT_THREADSAFE
Now that boost spirit is no longer used, `-DBOOST_SPIRIT_THREADSAFE`
doesn't need to be passed to the compiler anymore.
pull/4/head
Wladimir J. van der Laan
9 years ago
committed by
Jack Grigg
No known key found for this signature in database
GPG Key ID: 6A6914DAFBEA00DA
2 changed files with
1 additions and
2 deletions
-
configure.ac
-
src/rpcprotocol.cpp
|
@ -193,7 +193,7 @@ fi |
|
|
if test "x$CXXFLAGS_overridden" = "xno"; then |
|
|
if test "x$CXXFLAGS_overridden" = "xno"; then |
|
|
CXXFLAGS="$CXXFLAGS -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wno-self-assign" |
|
|
CXXFLAGS="$CXXFLAGS -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wno-self-assign" |
|
|
fi |
|
|
fi |
|
|
CPPFLAGS="$CPPFLAGS -DBOOST_SPIRIT_THREADSAFE -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS" |
|
|
CPPFLAGS="$CPPFLAGS -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS" |
|
|
|
|
|
|
|
|
AC_ARG_WITH([utils], |
|
|
AC_ARG_WITH([utils], |
|
|
[AS_HELP_STRING([--with-utils], |
|
|
[AS_HELP_STRING([--with-utils], |
|
|
|
@ -253,7 +253,6 @@ int ReadHTTPMessage(std::basic_istream<char>& stream, map<string, |
|
|
* |
|
|
* |
|
|
* 1.0 spec: http://json-rpc.org/wiki/specification
|
|
|
* 1.0 spec: http://json-rpc.org/wiki/specification
|
|
|
* 1.2 spec: http://jsonrpc.org/historical/json-rpc-over-http.html
|
|
|
* 1.2 spec: http://jsonrpc.org/historical/json-rpc-over-http.html
|
|
|
* http://www.codeproject.com/KB/recipes/JSON_Spirit.aspx
|
|
|
|
|
|
*/ |
|
|
*/ |
|
|
|
|
|
|
|
|
string JSONRPCRequest(const string& strMethod, const UniValue& params, const UniValue& id) |
|
|
string JSONRPCRequest(const string& strMethod, const UniValue& params, const UniValue& id) |
|
|