aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Feng Xiao <xfxyjwf@gmail.com>2017-06-12 10:26:57 -0700
committerGravatar GitHub <noreply@github.com>2017-06-12 10:26:57 -0700
commitc722c3d29440de4b33bed3e4d908cabe38a1196f (patch)
tree3c39fb31e8e8119baabeb34fc17bc87b53f7534d
parent96095f3a8577cd61ded2191d267cca70f221a9c9 (diff)
parent9094bf0f7e638f68cae72581ae8416e7c2721b41 (diff)
Merge pull request #3216 from traversaro/patch-1
Export symbols used in inline functions
-rw-r--r--src/google/protobuf/generated_message_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/generated_message_util.h b/src/google/protobuf/generated_message_util.h
index 44174466..a7154b40 100644
--- a/src/google/protobuf/generated_message_util.h
+++ b/src/google/protobuf/generated_message_util.h
@@ -164,7 +164,7 @@ class ExplicitlyConstructed {
// Default empty string object. Don't use this directly. Instead, call
// GetEmptyString() to get the reference.
-extern ExplicitlyConstructed< ::std::string> fixed_address_empty_string;
+LIBPROTOBUF_EXPORT extern ExplicitlyConstructed< ::std::string> fixed_address_empty_string;
LIBPROTOBUF_EXPORT extern ProtobufOnceType empty_string_once_init_;
LIBPROTOBUF_EXPORT void InitEmptyString();