Skip to content

Commit 0364903

Browse files
authored
Fix cannot locate symbol "getservbyport_y" (#3043)
1 parent bbc4021 commit 0364903

File tree

1 file changed

+26
-10
lines changed

1 file changed

+26
-10
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,33 @@
1-
Index: ares_config.h
2-
IDEA additional info:
3-
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
4-
<+>UTF-8
5-
===================================================================
6-
diff --git a/third_party/cares/config_android/ares_config.h b/third_party/cares/config_android/ares_config.h
7-
--- a/third_party/cares/config_android/ares_config.h
8-
+++ b/third_party/cares/config_android/ares_config.h (date 1716777985227)
1+
diff --git a/third_party/cares/config_darwin/ares_config.h b/third_party/cares/config_darwin/ares_config.h
2+
--- a/third_party/cares/config_darwin/ares_config.h 2024-07-16 20:46:22.000000000 +0100
3+
+++ b/third_party/cares/config_darwin/ares_config.h 2024-07-29 00:18:30.096755745 +0100
94
@@ -43,7 +43,7 @@
105
#define GETNAMEINFO_TYPE_ARG7 int
116

127
/* Specifies the number of arguments to getservbyport_r */
13-
-#define GETSERVBYPORT_R_ARGS
14-
+//#define GETSERVBYPORT_R_ARGS
8+
-#define GETSERVBYPORT_R_ARGS
9+
+/* #define GETSERVBYPORT_R_ARGS */
1510

1611
/* Define to 1 if you have AF_INET6. */
1712
#define HAVE_AF_INET6
13+
diff --git a/third_party/cares/config_linux/ares_config.h b/third_party/cares/config_linux/ares_config.h
14+
--- a/third_party/cares/config_linux/ares_config.h 2024-07-16 20:46:22.000000000 +0100
15+
+++ b/third_party/cares/config_linux/ares_config.h 2024-07-29 00:19:39.479166654 +0100
16+
@@ -43,7 +43,7 @@
17+
#define GETNAMEINFO_TYPE_ARG7 int
18+
19+
/* Specifies the number of arguments to getservbyport_r */
20+
-#define GETSERVBYPORT_R_ARGS 6
21+
+/* #define GETSERVBYPORT_R_ARGS 6 */
22+
23+
/* Define to 1 if you have AF_INET6. */
24+
#define HAVE_AF_INET6
25+
@@ -121,7 +121,7 @@
26+
#define HAVE_GETNAMEINFO
27+
28+
/* Define to 1 if you have the getservbyport_r function. */
29+
-#define HAVE_GETSERVBYPORT_R
30+
+/* #define HAVE_GETSERVBYPORT_R */
31+
32+
/* Define to 1 if you have the `gettimeofday' function. */
33+
#define HAVE_GETTIMEOFDAY

0 commit comments

Comments
 (0)