Commit 98d6584d authored by wangxuefeng's avatar wangxuefeng

Update as comments.

parent d3951bd2
...@@ -247,7 +247,7 @@ if [ $WITH_THRIFT != 0 ]; then ...@@ -247,7 +247,7 @@ if [ $WITH_THRIFT != 0 ]; then
CPPFLAGS="${CPPFLAGS} -DENABLE_THRIFT_FRAMED_PROTOCOL" CPPFLAGS="${CPPFLAGS} -DENABLE_THRIFT_FRAMED_PROTOCOL"
if [ -f "$THRIFT_LIB/libthriftnb.$SO" ]; then if [ -f "$THRIFT_LIB/libthriftnb.$SO" ]; then
append_to_output "DYNAMIC_LINKINGS+=-lthriftnb" append_to_output "DYNAMIC_LINKINGS+=-lthriftnb -levent -lthrift"
else else
append_to_output "STATIC_LINKINGS+=-lthriftnb" append_to_output "STATIC_LINKINGS+=-lthriftnb"
fi fi
......
...@@ -21,8 +21,6 @@ ...@@ -21,8 +21,6 @@
#include <boost/make_shared.hpp> #include <boost/make_shared.hpp>
#include <brpc/channel.h>
#include <thrift/TDispatchProcessor.h> #include <thrift/TDispatchProcessor.h>
#include <thrift/transport/TBufferTransports.h> #include <thrift/transport/TBufferTransports.h>
#include <thrift/protocol/TBinaryProtocol.h> #include <thrift/protocol/TBinaryProtocol.h>
......
...@@ -29,9 +29,9 @@ ...@@ -29,9 +29,9 @@
#include <google/protobuf/generated_message_reflection.h> #include <google/protobuf/generated_message_reflection.h>
#include "google/protobuf/descriptor.pb.h" #include "google/protobuf/descriptor.pb.h"
#include "brpc/thrift_binary_head.h" // thrfit_binary_head_t #include "brpc/details/thrift_binary_head.h" // thrfit_binary_head_t
#include "butil/iobuf.h" // IOBuf #include "brpc/details/thrift_utils.h"
#include "butil/thrift_utils.h" #include "butil/iobuf.h"
#include <thrift/protocol/TBinaryProtocol.h> #include <thrift/protocol/TBinaryProtocol.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment