雾聪
2023-11-16 5297a2dc4b2f22c07b9bfd5aef6190efd51de0bb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
#ifndef GLOG_CONFIG_H
#define GLOG_CONFIG_H
 
/* Namespace for Google classes */
#cmakedefine GOOGLE_NAMESPACE ${GOOGLE_NAMESPACE}
 
/* Define if you have the `dladdr' function */
#cmakedefine HAVE_DLADDR
 
/* Define if you have the `snprintf' function */
#cmakedefine HAVE_SNPRINTF
 
/* Define to 1 if you have the <dlfcn.h> header file. */
#cmakedefine HAVE_DLFCN_H
 
/* Define if you have the `backtrace' function in <execinfo.h> */
#cmakedefine HAVE_EXECINFO_BACKTRACE
 
/* Define if you have the `backtrace_symbols' function in <execinfo.h> */
#cmakedefine HAVE_EXECINFO_BACKTRACE_SYMBOLS
 
/* Define if you have the `fcntl' function */
#cmakedefine HAVE_FCNTL
 
/* Define to 1 if you have the <glob.h> header file. */
#cmakedefine HAVE_GLOB_H
 
/* Define to 1 if you have the `pthread' library (-lpthread). */
#cmakedefine HAVE_LIBPTHREAD
 
/* define if you have google gflags library */
#cmakedefine HAVE_LIB_GFLAGS
 
/* define if you have google gmock library */
#cmakedefine HAVE_LIB_GMOCK
 
/* define if you have google gtest library */
#cmakedefine HAVE_LIB_GTEST
 
/* define if you have dbghelp library */
#cmakedefine HAVE_DBGHELP
 
/* define if you have libunwind */
#cmakedefine HAVE_LIB_UNWIND
 
/* Define to 1 if you have the <memory.h> header file. */
#cmakedefine HAVE_MEMORY_H
 
/* define to disable multithreading support. */
#cmakedefine NO_THREADS
 
/* Define if you have the 'pread' function */
#cmakedefine HAVE_PREAD
 
/* Define if you have POSIX threads libraries and header files. */
#cmakedefine HAVE_PTHREAD
 
/* Define to 1 if you have the <pwd.h> header file. */
#cmakedefine HAVE_PWD_H
 
/* Define if you have the 'pwrite' function */
#cmakedefine HAVE_PWRITE
 
/* define if the compiler implements pthread_rwlock_* */
#cmakedefine HAVE_RWLOCK
 
/* Define if you have the 'sigaction' function */
#cmakedefine HAVE_SIGACTION
 
/* Define if you have the `sigaltstack' function */
#cmakedefine HAVE_SIGALTSTACK
 
/* Define to 1 if you have the <strings.h> header file. */
#cmakedefine HAVE_STRINGS_H
 
/* Define to 1 if you have the <syscall.h> header file. */
#cmakedefine HAVE_SYSCALL_H
 
/* Define to 1 if you have the <syslog.h> header file. */
#cmakedefine HAVE_SYSLOG_H
 
/* Define to 1 if you have the <sys/stat.h> header file. */
#cmakedefine HAVE_SYS_STAT_H
 
/* Define to 1 if you have the <sys/syscall.h> header file. */
#cmakedefine HAVE_SYS_SYSCALL_H
 
/* Define to 1 if you have the <sys/time.h> header file. */
#cmakedefine HAVE_SYS_TIME_H
 
/* Define to 1 if you have the <sys/types.h> header file. */
#cmakedefine HAVE_SYS_TYPES_H ${HAVE_SYS_TYPES_H}
 
/* Define to 1 if you have the <sys/ucontext.h> header file. */
#cmakedefine HAVE_SYS_UCONTEXT_H
 
/* Define to 1 if you have the <sys/utsname.h> header file. */
#cmakedefine HAVE_SYS_UTSNAME_H
 
/* Define to 1 if you have the <sys/wait.h> header file. */
#cmakedefine HAVE_SYS_WAIT_H
 
/* Define to 1 if you have the <ucontext.h> header file. */
#cmakedefine HAVE_UCONTEXT_H
 
/* Define to 1 if you have the <unistd.h> header file. */
#cmakedefine HAVE_UNISTD_H ${HAVE_UNISTD_H}
 
/* Define if you linking to _Unwind_Backtrace is possible. */
#cmakedefine HAVE__UNWIND_BACKTRACE
 
/* Define if you linking to _Unwind_GetIP is possible. */
#cmakedefine HAVE__UNWIND_GETIP
 
/* define if your compiler has __attribute__ */
#cmakedefine HAVE___ATTRIBUTE__
 
/* define if your compiler has __builtin_expect */
#cmakedefine HAVE___BUILTIN_EXPECT ${HAVE___BUILTIN_EXPECT}
 
/* define if your compiler has __sync_val_compare_and_swap */
#cmakedefine HAVE___SYNC_VAL_COMPARE_AND_SWAP
 
/* define if symbolize support is available */
#cmakedefine HAVE_SYMBOLIZE
 
/* define if localtime_r is available in time.h */
#cmakedefine HAVE_LOCALTIME_R
 
/* define if gmtime_r is available in time.h */
#cmakedefine HAVE_GMTIME_R
 
/* Define to the sub-directory in which libtool stores uninstalled libraries.
   */
#cmakedefine LT_OBJDIR
 
/* How to access the PC from a struct ucontext */
#cmakedefine PC_FROM_UCONTEXT
 
/* define if we should print file offsets in traces instead of symbolizing. */
#cmakedefine PRINT_UNSYMBOLIZED_STACK_TRACES
 
/* Define to necessary symbol if this constant uses a non-standard name on
   your system. */
#cmakedefine PTHREAD_CREATE_JOINABLE
 
/* The size of `void *', as computed by sizeof. */
#cmakedefine SIZEOF_VOID_P ${SIZEOF_VOID_P}
 
/* location of source code */
#cmakedefine TEST_SRC_DIR ${TEST_SRC_DIR}
 
/* Define if thread-local storage is enabled. */
#cmakedefine GLOG_THREAD_LOCAL_STORAGE
 
#ifdef GLOG_BAZEL_BUILD
 
/* TODO(rodrigoq): remove this workaround once bazel#3979 is resolved:
 * https://github.com/bazelbuild/bazel/issues/3979 */
#define _START_GOOGLE_NAMESPACE_ namespace GOOGLE_NAMESPACE {
 
#define _END_GOOGLE_NAMESPACE_ }
 
#else
 
/* Stops putting the code inside the Google namespace */
#cmakedefine _END_GOOGLE_NAMESPACE_ ${_END_GOOGLE_NAMESPACE_}
 
/* Puts following code inside the Google namespace */
#cmakedefine _START_GOOGLE_NAMESPACE_ ${_START_GOOGLE_NAMESPACE_}
 
#endif
 
/* Replacement for deprecated syscall(SYS_gettid) on macOS. */
#cmakedefine HAVE_PTHREAD_THREADID_NP ${HAVE_PTHREAD_THREADID_NP}
 
#endif  // GLOG_CONFIG_H