-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HAVE_POLL_FINE is always false when cross-compiling for Android #15013
Comments
Are you using autoconf or cmake? If the former, can you show the snippet of config.log around this check?
|
@vszakats _POSIX_C_SOURCE has been deleted in https://r.android.com/237770/6/libc/include/sys/cdefs.h#219 : With bionic, you always get all C and POSIX API. |
At compile-time, how do we detect Bionic and this version of Bionic where fine poll is unconditionally available? |
https://android.googlesource.com/platform/bionic/+/main/docs/defines.md |
Are you sure that enabling this unconditionally for all platforms (except Apple) is the correct way to go? There are a lot of platforms out there. |
Since it seems the _POSIX_C_SOURCE "trick" does not work there, the check does not find poll(). Fixes #15013 Reported-by: vvb2060 on github
I propose #15037 |
I did this
./configure
I expected the following
#define HAVE_POLL_FINE 1
curl/libcurl version
curl 8.10.1
operating system
Android
The text was updated successfully, but these errors were encountered: