summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibuv/include/uv.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-01-13 20:46:20 (GMT)
committerBrad King <brad.king@kitware.com>2022-01-13 20:46:20 (GMT)
commitea70fb3905d98344daff63b2ed505ba294785326 (patch)
tree2a5d333d16650fc476963fa6bc4ff71944190742 /Utilities/cmlibuv/include/uv.h
parenta20d9e1463eaa8df1c11fcc244d324f2344e21f5 (diff)
parent09ec116d91c571dff0f108c23eabbcccdca767fa (diff)
downloadCMake-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.h3
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);