Эх сурвалжийг харах

Set LIBPROTOBUF_EXPORT on GzipOutputStream::Options

This fixes issue #2610.

This was originally fixed in a101fa52895fc2ad83d8b5d610243531b1608a08 , but got
reverted by d36c0c538a545fac5d9db6ba65c525246d4efa95
Adam Cozzette 8 жил өмнө
parent
commit
1141bd9542

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

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