diff options
Diffstat (limited to 'crypto/uid.c')
| -rw-r--r-- | crypto/uid.c | 8 | 
1 files changed, 7 insertions, 1 deletions
| diff --git a/crypto/uid.c b/crypto/uid.c index 65b1171039fe..5e3315eeb2e3 100644 --- a/crypto/uid.c +++ b/crypto/uid.c @@ -1,5 +1,5 @@  /* - * Copyright 2001-2019 The OpenSSL Project Authors. All Rights Reserved. + * Copyright 2001-2021 The OpenSSL Project Authors. All Rights Reserved.   *   * Licensed under the OpenSSL license (the "License").  You may not use   * this file except in compliance with the License.  You can obtain a copy @@ -36,6 +36,12 @@ int OPENSSL_issetugid(void)  #   include <sys/auxv.h>  #   define OSSL_IMPLEMENT_GETAUXVAL  #  endif +# elif defined(__ANDROID_API__) +/* see https://developer.android.google.cn/ndk/guides/cpu-features */ +#  if __ANDROID_API__ >= 18 +#   include <sys/auxv.h> +#   define OSSL_IMPLEMENT_GETAUXVAL +#  endif  # endif  int OPENSSL_issetugid(void) | 
