mirror of
https://gitee.com/houstudio/Cdroid.git
synced 2024-11-30 03:08:12 +08:00
fix looper.cc's compile error in tina
This commit is contained in:
parent
4650dc22e2
commit
ebf40e2880
@ -417,6 +417,13 @@ void Looper::doIdleHandlers(){
|
||||
}
|
||||
|
||||
//TEMP_FAILURE_RETRY defined in <unistd.h>
|
||||
#ifndef TEMP_FAILURE_RETRY
|
||||
#define TEMP_FAILURE_RETRY(expression) \
|
||||
({ long int __result; \
|
||||
do __result = (long int)(expression); \
|
||||
while (__result == -1 && errno == EINTR); \
|
||||
__result; })
|
||||
#endif
|
||||
void Looper::wake() {
|
||||
LOGD_IF(DEBUG_POLL_AND_WAKE,"%p wake", this);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user