diff options
author | Brad King <brad.king@kitware.com> | 2022-01-13 20:46:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-01-13 20:46:20 (GMT) |
commit | ea70fb3905d98344daff63b2ed505ba294785326 (patch) | |
tree | 2a5d333d16650fc476963fa6bc4ff71944190742 /Utilities/cmlibuv/include/uv.h | |
parent | a20d9e1463eaa8df1c11fcc244d324f2344e21f5 (diff) | |
parent | 09ec116d91c571dff0f108c23eabbcccdca767fa (diff) | |
download | CMake-ea70fb3905d98344daff63b2ed505ba294785326.zip CMake-ea70fb3905d98344daff63b2ed505ba294785326.tar.gz CMake-ea70fb3905d98344daff63b2ed505ba294785326.tar.bz2 |
Merge branch 'upstream-libuv' into update-libuv
# By libuv upstream
* upstream-libuv:
libuv 2022-01-13 (2fbfa035)
Diffstat (limited to 'Utilities/cmlibuv/include/uv.h')
-rw-r--r-- | Utilities/cmlibuv/include/uv.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Utilities/cmlibuv/include/uv.h b/Utilities/cmlibuv/include/uv.h index 48213e2..747095f 100644 --- a/Utilities/cmlibuv/include/uv.h +++ b/Utilities/cmlibuv/include/uv.h @@ -49,6 +49,8 @@ extern "C" { # endif #elif __GNUC__ >= 4 # define UV_EXTERN __attribute__((visibility("default"))) +#elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550) /* Sun Studio >= 8 */ +# define UV_EXTERN __global #else # define UV_EXTERN /* nothing */ #endif @@ -1676,6 +1678,7 @@ UV_EXTERN int uv_ip6_addr(const char* ip, int port, struct sockaddr_in6* addr); UV_EXTERN int uv_ip4_name(const struct sockaddr_in* src, char* dst, size_t size); UV_EXTERN int uv_ip6_name(const struct sockaddr_in6* src, char* dst, size_t size); +UV_EXTERN int uv_ip_name(const struct sockaddr* src, char* dst, size_t size); UV_EXTERN int uv_inet_ntop(int af, const void* src, char* dst, size_t size); UV_EXTERN int uv_inet_pton(int af, const char* src, void* dst); |