File tree Expand file tree Collapse file tree
src/google/protobuf/compiler/cpp Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -562,7 +562,7 @@ void FileGenerator::GenerateSourceDefaultInstance(int idx, io::Printer* p) {
562562 };
563563 };
564564
565- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
565+ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT$dllexport_decl $
566566 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const $type$ $name$;
567567 )cc" );
568568 }
@@ -590,7 +590,7 @@ void FileGenerator::GenerateSourceDefaultInstance(int idx, io::Printer* p) {
590590 };
591591 };
592592
593- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
593+ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT$dllexport_decl $
594594 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 $type$ $name$;
595595 )cc" );
596596 } else {
@@ -609,7 +609,7 @@ void FileGenerator::GenerateSourceDefaultInstance(int idx, io::Printer* p) {
609609 };
610610 };
611611
612- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
612+ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT$dllexport_decl $
613613 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 $type$ $name$;
614614 )cc" );
615615 }
You can’t perform that action at this time.
0 commit comments