aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++
diff options
context:
space:
mode:
authorGravatar Yuchen Zeng <zyc@google.com>2016-04-29 14:05:08 -0700
committerGravatar Yuchen Zeng <zyc@google.com>2016-04-29 14:05:08 -0700
commitc049035bedad8e013a439bf2934d01e616da4227 (patch)
treef86cfd37f30fd2b51462c5ce62fd152f0f218f3f /include/grpc++
parent018bf1a8649e5036dba04343db6e4cd668eb3e24 (diff)
Add GRPC_ prefix for macros
Diffstat (limited to 'include/grpc++')
-rw-r--r--include/grpc++/impl/server_builder_plugin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/grpc++/impl/server_builder_plugin.h b/include/grpc++/impl/server_builder_plugin.h
index 2cf1dfdbec..7cf369e346 100644
--- a/include/grpc++/impl/server_builder_plugin.h
+++ b/include/grpc++/impl/server_builder_plugin.h
@@ -64,12 +64,12 @@ class ServerBuilderPlugin {
} // namespace grpc
-#define DECLARE_PLUGIN(plugin_name) \
+#define GRPC_DECLARE_PLUGIN(plugin_name) \
namespace sBP##plugin_name { \
extern std::unique_ptr<ServerBuilderPlugin> Create##plugin_name(); \
}
-#define INIT_PLUGIN(map, plugin_name) \
+#define GRPC_INIT_PLUGIN(map, plugin_name) \
{ \
std::unique_ptr<ServerBuilderPlugin> plugin = \
sBP##plugin_name::Create##plugin_name(); \