summaryrefslogtreecommitdiff
path: root/librime-fixes-setup-log.patch
blob: 4e3b9aa362e751b33ad6d2fce57df5a6ee8dd41f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Index: librime-1.12.0/src/rime/setup.cc
===================================================================
--- librime-1.12.0.orig/src/rime/setup.cc
+++ librime-1.12.0/src/rime/setup.cc
@@ -9,6 +9,12 @@
 
 #ifdef RIME_ENABLE_LOGGING
 #include <glog/logging.h>
+namespace google {
+  namespace glog_internal_namespace_ {
+    extern bool IsGoogleLoggingInitialized();
+  }
+  const auto& IsGoogleLoggingInitialized = glog_internal_namespace_::IsGoogleLoggingInitialized;
+}
 #else
 #include "no_logging.h"
 #endif  // RIME_ENABLE_LOGGING