浏览代码

Add missing LIBPROTOBUF_EXPORT.

kenton@google.com 16 年之前
父节点
当前提交
6f9bc71ffd
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/google/protobuf/stubs/common.h

+ 1 - 1
src/google/protobuf/stubs/common.h

@@ -1075,7 +1075,7 @@ template<typename T> struct remove_pointer<T* const volatile> {
 
 // Checks if the buffer contains structurally-valid UTF-8.  Implemented in
 // structurally_valid.cc.
-bool IsStructurallyValidUTF8(const char* buf, int len);
+LIBPROTOBUF_EXPORT bool IsStructurallyValidUTF8(const char* buf, int len);
 
 }  // namespace internal