aboutsummaryrefslogtreecommitdiff
path: root/src/google/protobuf/compiler/scc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/google/protobuf/compiler/scc.h')
-rw-r--r--src/google/protobuf/compiler/scc.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/google/protobuf/compiler/scc.h b/src/google/protobuf/compiler/scc.h
index 69a47f1b..c8cf77d6 100644
--- a/src/google/protobuf/compiler/scc.h
+++ b/src/google/protobuf/compiler/scc.h
@@ -35,6 +35,8 @@
#include <google/protobuf/descriptor.h>
+#include <google/protobuf/port_def.inc>
+
namespace google {
namespace protobuf {
namespace compiler {
@@ -52,7 +54,7 @@ struct SCC {
// This class is used for analyzing the SCC for each message, to ensure linear
// instead of quadratic performance, if we do this per message we would get
// O(V*(V+E)).
-class LIBPROTOC_EXPORT SCCAnalyzer {
+class PROTOC_EXPORT SCCAnalyzer {
public:
explicit SCCAnalyzer() : index_(0) {}
@@ -92,4 +94,6 @@ class LIBPROTOC_EXPORT SCCAnalyzer {
} // namespace protobuf
} // namespace google
+#include <google/protobuf/port_undef.inc>
+
#endif // GOOGLE_PROTOBUF_COMPILER_SCC_H__