Browse Source

Add missing export macro

liujisi@google.com 13 năm trước cách đây
mục cha
commit
1e36e1006a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/google/protobuf/io/gzip_stream.h

+ 1 - 1
src/google/protobuf/io/gzip_stream.h

@@ -118,7 +118,7 @@ class LIBPROTOBUF_EXPORT GzipOutputStream : public ZeroCopyOutputStream {
     ZLIB = 2,
   };
 
-  struct Options {
+  struct LIBPROTOBUF_EXPORT Options {
     // Defaults to GZIP.
     Format format;