diff options
Diffstat (limited to 'include/grpc++/config.h')
-rw-r--r-- | include/grpc++/config.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/grpc++/config.h b/include/grpc++/config.h index 0f3d69289f..b6c1705621 100644 --- a/include/grpc++/config.h +++ b/include/grpc++/config.h @@ -93,13 +93,17 @@ #endif #ifndef GRPC_CUSTOM_ZEROCOPYOUTPUTSTREAM +#include <google/protobuf/io/coded_stream.h> #include <google/protobuf/io/zero_copy_stream.h> #define GRPC_CUSTOM_ZEROCOPYOUTPUTSTREAM \ ::google::protobuf::io::ZeroCopyOutputStream #define GRPC_CUSTOM_ZEROCOPYINPUTSTREAM \ ::google::protobuf::io::ZeroCopyInputStream +#define GRPC_CUSTOM_CODEDINPUTSTREAM \ + ::google::protobuf::io::CodedInputStream #endif + #ifdef GRPC_CXX0X_NO_NULLPTR #include <memory> const class { @@ -126,6 +130,7 @@ typedef GRPC_CUSTOM_PROTOBUF_INT64 int64; namespace io { typedef GRPC_CUSTOM_ZEROCOPYOUTPUTSTREAM ZeroCopyOutputStream; typedef GRPC_CUSTOM_ZEROCOPYINPUTSTREAM ZeroCopyInputStream; +typedef GRPC_CUSTOM_CODEDINPUTSTREAM CodedInputStream; } // namespace io } // namespace protobuf |