diff options
author | eninng <eninng@yandex-team.ru> | 2022-02-10 16:47:08 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:08 +0300 |
commit | 91aa870864e227f2f6d404c5892aefb771b5c8db (patch) | |
tree | b83306b6e37edeea782e9eed673d89286c4fef35 /contrib/libs/libc_compat | |
parent | 83de44964eb30cab9f4750ec5113837b79d73f76 (diff) | |
download | ydb-91aa870864e227f2f6d404c5892aefb771b5c8db.tar.gz |
Restoring authorship annotation for <eninng@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/libc_compat')
-rw-r--r-- | contrib/libs/libc_compat/string.h | 2 | ||||
-rw-r--r-- | contrib/libs/libc_compat/ya.make | 30 |
2 files changed, 16 insertions, 16 deletions
diff --git a/contrib/libs/libc_compat/string.h b/contrib/libs/libc_compat/string.h index 6e05661c36..ad74d9a630 100644 --- a/contrib/libs/libc_compat/string.h +++ b/contrib/libs/libc_compat/string.h @@ -13,7 +13,7 @@ size_t strlcpy(char* dst, const char* src, size_t len); size_t strlcat(char* dst, const char* src, size_t len); #endif -#if (!defined(__linux__) && !defined(__FreeBSD__) && !defined(__APPLE__)) || (defined(__ANDROID__) && __ANDROID_API__ < 21) +#if (!defined(__linux__) && !defined(__FreeBSD__) && !defined(__APPLE__)) || (defined(__ANDROID__) && __ANDROID_API__ < 21) char* stpcpy(char* dst, const char* src); #endif diff --git a/contrib/libs/libc_compat/ya.make b/contrib/libs/libc_compat/ya.make index bef08e7e67..b92184c165 100644 --- a/contrib/libs/libc_compat/ya.make +++ b/contrib/libs/libc_compat/ya.make @@ -17,20 +17,20 @@ NO_UTIL() NO_RUNTIME() -IF (NOT OS_WINDOWS) +IF (NOT OS_WINDOWS) SRCS( - string.c + string.c ) -ENDIF() - +ENDIF() + # Android libc function appearance is documented here: # https://android.googlesource.com/platform/bionic/+/master/docs/status.md # # NB: nested IF's are needed due to the lack of lazy evaluation of logical statements: DEVTOOLS-7837 -IF (OS_ANDROID) +IF (OS_ANDROID) SRCS( - strlcat.c - strlcpy.c + strlcat.c + strlcpy.c ) IF (ANDROID_API < 28) SRCS( @@ -46,11 +46,11 @@ IF (OS_ANDROID) GLOBAL contrib/libs/libc_compat/include/ifaddrs ) ENDIF() - IF (ANDROID_API < 21) - SRCS( - stpcpy.c - ) - ENDIF() + IF (ANDROID_API < 21) + SRCS( + stpcpy.c + ) + ENDIF() ENDIF() IF (OS_WINDOWS OR OS_DARWIN OR OS_IOS) @@ -71,9 +71,9 @@ IF (OS_WINDOWS) ) SRCS( reallocarray.c - stpcpy.c - strlcat.c - strlcpy.c + stpcpy.c + strlcat.c + strlcpy.c strcasestr.c strsep.c src/windows/sys/uio.c |