ray/thirdparty/patches/arrow-windows-export.patch
2019-12-05 16:09:21 -08:00

15 lines
543 B
Diff

diff --git cpp/src/arrow/util/logging.cc cpp/src/arrow/util/logging.cc
index e54a10e52..3dbfc7a12 100644
--- cpp/src/arrow/util/logging.cc
+++ cpp/src/arrow/util/logging.cc
@@ -84,7 +84,9 @@ typedef google::LogMessage LoggingProvider;
typedef CerrLog LoggingProvider;
#endif
+#if !defined(_WIN32) || defined(ARROW_STATIC) || defined(ARROW_EXPORTING) || !defined(ARROW_EXPORT)
ArrowLogLevel ArrowLog::severity_threshold_ = ArrowLogLevel::ARROW_INFO;
+#endif
// Keep the log directory.
static std::unique_ptr<std::string> log_dir_;
--