hardware/qcom/gps: Fixing gettid issue
extern to C namespace for C functions to use Change-Id: Ib8eb442653ce62f4a65b2573dd5ed69af7a744ae
This commit is contained in:
parent
0590a64deb
commit
ca57336da8
1 changed files with 9 additions and 0 deletions
|
@ -48,6 +48,15 @@
|
|||
|
||||
#else
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
pid_t gettid(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#define GETTID_PLATFORM_LIB_ABSTRACTION (gettid())
|
||||
#define LOC_EXT_CREATE_THREAD_CB_PLATFORM_LIB_ABSTRACTION android::AndroidRuntime::createJavaThread
|
||||
#define ELAPSED_MILLIS_SINCE_BOOT_PLATFORM_LIB_ABSTRACTION (android::elapsedRealtime())
|
||||
|
|
Loading…
Reference in a new issue