Closed sanbrother closed 1 year ago
I failed to compile under AOSP, and then I found that __poll_t is defined since kernel 4.16 So, I change one line of code, and that works.
Maybe, #if defined() only works with types like these:
I'm not quite sure. Would you please spend some time to check if this PR is correct?
I failed to compile under AOSP, and then I found that __poll_t is defined since kernel 4.16 So, I change one line of code, and that works.
Maybe, #if defined() only works with types like these:
define __poll_t (unsigned int)
I'm not quite sure. Would you please spend some time to check if this PR is correct?