hardware/qcom/gps: Fixing gettid issue

extern to C namespace for C functions to use

Change-Id: Ib8eb442653ce62f4a65b2573dd5ed69af7a744ae
This commit is contained in:
Pandari Sabhapathi 2013-02-24 11:42:01 -08:00 committed by Satheesh Jayakumar
parent 0590a64deb
commit ca57336da8

View file

@ -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())