summarylogtreecommitdiffstats
path: root/001-gettid.patch
diff options
context:
space:
mode:
Diffstat (limited to '001-gettid.patch')
-rw-r--r--001-gettid.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/001-gettid.patch b/001-gettid.patch
deleted file mode 100644
index 00873b919e60..000000000000
--- a/001-gettid.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- a/src/util.h
-+++ b/src/util.h
-@@ -374,6 +374,7 @@ static inline int IsEmptyStr(const char *str)
- return 0;
- }
-
-+#if !defined(__GLIBC__) || !defined(__GLIBC_PREREQ) || !__GLIBC_PREREQ(2, 30)
- static inline pid_t gettid(void)
- {
- #if defined(LINUX) && defined(SYS_gettid)
-@@ -382,5 +383,6 @@ static inline pid_t gettid(void)
- return getpid();
- #endif
- }
-+#endif
-
- #endif /*__UTIL_H__*/