|
|
@ -30,9 +30,11 @@ |
|
|
|
#ifdef GRPC_USE_PROTO_LITE |
|
|
|
#ifdef GRPC_USE_PROTO_LITE |
|
|
|
#include <google/protobuf/message_lite.h> |
|
|
|
#include <google/protobuf/message_lite.h> |
|
|
|
#define GRPC_CUSTOM_MESSAGE ::google::protobuf::MessageLite |
|
|
|
#define GRPC_CUSTOM_MESSAGE ::google::protobuf::MessageLite |
|
|
|
|
|
|
|
#define GRPC_CUSTOM_MESSAGELITE ::google::protobuf::MessageLite |
|
|
|
#else |
|
|
|
#else |
|
|
|
#include <google/protobuf/message.h> |
|
|
|
#include <google/protobuf/message.h> |
|
|
|
#define GRPC_CUSTOM_MESSAGE ::google::protobuf::Message |
|
|
|
#define GRPC_CUSTOM_MESSAGE ::google::protobuf::Message |
|
|
|
|
|
|
|
#define GRPC_CUSTOM_MESSAGELITE ::google::protobuf::MessageLite |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
@ -76,6 +78,7 @@ namespace grpc { |
|
|
|
namespace protobuf { |
|
|
|
namespace protobuf { |
|
|
|
|
|
|
|
|
|
|
|
typedef GRPC_CUSTOM_MESSAGE Message; |
|
|
|
typedef GRPC_CUSTOM_MESSAGE Message; |
|
|
|
|
|
|
|
typedef GRPC_CUSTOM_MESSAGE MessageLite; |
|
|
|
typedef GRPC_CUSTOM_PROTOBUF_INT64 int64; |
|
|
|
typedef GRPC_CUSTOM_PROTOBUF_INT64 int64; |
|
|
|
|
|
|
|
|
|
|
|
typedef GRPC_CUSTOM_DESCRIPTOR Descriptor; |
|
|
|
typedef GRPC_CUSTOM_DESCRIPTOR Descriptor; |
|
|
|