Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 691764
Collapse All | Expand All

(-)a/core/libcutils/include/cutils/threads.h (+2 lines)
Lines 37-43 extern "C" { Link Here
37
/***********************************************************************/
37
/***********************************************************************/
38
/***********************************************************************/
38
/***********************************************************************/
39
39
40
#if !defined(__GLIBC__) || __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 30)
40
extern pid_t gettid();
41
extern pid_t gettid();
42
#endif
41
43
42
#if !defined(_WIN32)
44
#if !defined(_WIN32)
43
45
(-)a/core/libcutils/threads.cpp (-1 / +1 lines)
Lines 32-38 Link Here
32
#endif
32
#endif
33
33
34
// No definition needed for Android because we'll just pick up bionic's copy.
34
// No definition needed for Android because we'll just pick up bionic's copy.
35
#ifndef __ANDROID__
35
#if !defined(__ANDROID__) || !defined(__GLIBC__) || __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 30)
36
pid_t gettid() {
36
pid_t gettid() {
37
#if defined(__APPLE__)
37
#if defined(__APPLE__)
38
  uint64_t tid;
38
  uint64_t tid;

Return to bug 691764