mirror of
https://github.com/curl/curl.git
synced 2026-05-30 06:47:28 +03:00
build: replace configure check with PP condition (Android <21)
To make it build again with CMake + Android 20 and earlier.8e34505776synced `getpwuid_r()` detection in cmake with autotools. It means cmake started detecting it with Android <21 just like autotools, and thus cmake builds also need to tackle the missing declaration with old Android SDK versions. Use a PP solution, allowing to drop the autotools-specific on used before this patch. Follow-up to8e34505776#15164 Follow-up to9c33813d83#2609 Ref: #2058 Closes #15871
This commit is contained in:
parent
280ff5ca03
commit
0f1b23e960
3 changed files with 2 additions and 8 deletions
3
.github/scripts/cmp-config.pl
vendored
3
.github/scripts/cmp-config.pl
vendored
|
|
@ -41,9 +41,6 @@ my %remove = (
|
|||
'#define GETHOSTNAME_TYPE_ARG2 size_t' => 1,
|
||||
'#define HAVE_BROTLI 1' => 1,
|
||||
'#define HAVE_BROTLI_DECODE_H 1' => 1,
|
||||
'#define HAVE_DECL_GETPWUID_R 0' => 1,
|
||||
'#define HAVE_DECL_GETPWUID_R 1' => 1,
|
||||
'#define HAVE_DECL_GETPWUID_R_MISSING 1' => 1,
|
||||
'#define HAVE_DLFCN_H 1' => 1,
|
||||
'#define HAVE_GSSAPI_GSSAPI_KRB5_H 1' => 1,
|
||||
'#define HAVE_INTTYPES_H 1' => 1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue