From 7a7913e442f91a84518bcc916dc3e5f928014f1e Mon Sep 17 00:00:00 2001 From: Feng Xiao Date: Wed, 13 Jul 2016 15:45:08 -0700 Subject: Add missing LIBPROTOBUF_EXPORT. --- src/google/protobuf/generated_message_util.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/google/protobuf/generated_message_util.h') diff --git a/src/google/protobuf/generated_message_util.h b/src/google/protobuf/generated_message_util.h index dc815189..8967726e 100644 --- a/src/google/protobuf/generated_message_util.h +++ b/src/google/protobuf/generated_message_util.h @@ -112,12 +112,13 @@ class ArenaString; // pointer to a copy of the string that resides in *arena. Requires both // args to be non-NULL. If something goes wrong while reading the data // then NULL is returned (e.g., input does not start with a valid varint). -ArenaString* ReadArenaString(::google::protobuf::io::CodedInputStream* input, - ::google::protobuf::Arena* arena); +LIBPROTOBUF_EXPORT ArenaString* ReadArenaString( + ::google::protobuf::io::CodedInputStream* input, + ::google::protobuf::Arena* arena); // Helper function to crash on merge failure. // Moved out of generated code to reduce binary size. -void MergeFromFail(const char* file, int line) GOOGLE_ATTRIBUTE_NORETURN; +LIBPROTOBUF_EXPORT void MergeFromFail(const char* file, int line) GOOGLE_ATTRIBUTE_NORETURN; } // namespace internal } // namespace protobuf -- cgit v1.2.3