Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'extern/libmv/third_party/glog/src/logging.cc')
-rw-r--r--extern/libmv/third_party/glog/src/logging.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/extern/libmv/third_party/glog/src/logging.cc b/extern/libmv/third_party/glog/src/logging.cc
index d700a0bf770..6552f46efdd 100644
--- a/extern/libmv/third_party/glog/src/logging.cc
+++ b/extern/libmv/third_party/glog/src/logging.cc
@@ -1677,7 +1677,8 @@ void LogToStderr() {
namespace base {
namespace internal {
-static bool GetExitOnDFatal() {
+bool GetExitOnDFatal();
+bool GetExitOnDFatal() {
MutexLock l(&log_mutex);
return exit_on_dfatal;
}
@@ -1692,7 +1693,8 @@ static bool GetExitOnDFatal() {
// and the stack trace is not recorded. The LOG(FATAL) *will* still
// exit the program. Since this function is used only in testing,
// these differences are acceptable.
-static void SetExitOnDFatal(bool value) {
+void SetExitOnDFatal(bool value);
+void SetExitOnDFatal(bool value) {
MutexLock l(&log_mutex);
exit_on_dfatal = value;
}