diff options
author | Feng Xiao <xfxyjwf@gmail.com> | 2016-07-13 15:45:08 -0700 |
---|---|---|
committer | Feng Xiao <xfxyjwf@gmail.com> | 2016-07-13 15:45:08 -0700 |
commit | 7a7913e442f91a84518bcc916dc3e5f928014f1e (patch) | |
tree | d0d2dd474992fc37ce7cad99926182dce12e35a1 | |
parent | 443eb27c7cdf279de979fdee43c99a812cfeb001 (diff) | |
download | protobuf-7a7913e442f91a84518bcc916dc3e5f928014f1e.tar.gz protobuf-7a7913e442f91a84518bcc916dc3e5f928014f1e.tar.bz2 protobuf-7a7913e442f91a84518bcc916dc3e5f928014f1e.zip |
Add missing LIBPROTOBUF_EXPORT.
-rw-r--r-- | src/google/protobuf/generated_message_util.h | 7 |
1 files changed, 4 insertions, 3 deletions
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 |