]>
Commit | Line | Data |
---|---|---|
d22ab1f8 JB |
1 | --- bazel-1.2.1/third_party/grpc/src/core/lib/gpr/log_linux.cc.orig 1980-01-01 00:00:00.000000000 +0100 |
2 | +++ bazel-1.2.1/third_party/grpc/src/core/lib/gpr/log_linux.cc 2019-12-07 15:30:52.746411671 +0100 | |
3 | @@ -40,7 +40,9 @@ | |
4 | #include <time.h> | |
5 | #include <unistd.h> | |
6 | ||
7 | +#ifndef __USE_GNU | |
8 | static long gettid(void) { return syscall(__NR_gettid); } | |
9 | +#endif | |
10 | ||
11 | void gpr_log(const char* file, int line, gpr_log_severity severity, | |
12 | const char* format, ...) { |