diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 05:21:29 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 05:21:29 +0000 |
commit | 1c9853857b99ad2d79725bdc23f653e8a03879ae (patch) | |
tree | 26c4570f6cc8f5ee36233bd88a2b1236e65a8f20 /sysdeps.h | |
parent | 4d036225cd07cab336e5520d55d6ac79d637ba0f (diff) | |
parent | c362e05a76d7238f684234fe4ad6768c0c461b8d (diff) | |
download | adb-1c9853857b99ad2d79725bdc23f653e8a03879ae.tar.gz |
Snap for 10453563 from c362e05a76d7238f684234fe4ad6768c0c461b8d to mainline-uwb-releaseaml_uwb_341710010aml_uwb_341513070aml_uwb_341511050aml_uwb_341310300aml_uwb_341310030aml_uwb_341111010aml_uwb_341011000android14-mainline-uwb-release
Change-Id: I9df115c1f3dc00849df3b80af008eaee00c476bf
Diffstat (limited to 'sysdeps.h')
-rw-r--r-- | sysdeps.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -51,10 +51,6 @@ static inline void* mempcpy(void* dst, const void* src, size_t n) { #ifdef _WIN32 -// Clang-only nullability specifiers -#define _Nonnull -#define _Nullable - #include <ctype.h> #include <direct.h> #include <dirent.h> @@ -789,6 +785,9 @@ static inline void disable_tcp_nagle(borrowed_fd fd) { // configured to drop after 10 missed keepalives. Returns true on success. bool set_tcp_keepalive(borrowed_fd fd, int interval_sec); +// Returns a human-readable OS version string. +extern std::string GetOSVersion(void); + #if defined(_WIN32) // Win32 defines ERROR, which we don't need, but which conflicts with google3 logging. #undef ERROR |