Skip to content

Commit

Permalink
Do not define HAVE_GETSERVBYPORT_R for platforms
Browse files Browse the repository at this point in the history
Android, Cygwin, Darwin
  • Loading branch information
truboxl committed Feb 12, 2024
1 parent b005f58 commit da24940
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 27 deletions.
9 changes: 0 additions & 9 deletions deps/build-config/config_android/ares_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,6 @@
/* Define to the type of arg 7 for getnameinfo. */
#define GETNAMEINFO_TYPE_ARG7 int

/* Specifies the number of arguments to getservbyport_r */
#define GETSERVBYPORT_R_ARGS 6

/* Specifies the size of the buffer to pass to getservbyport_r */
#define GETSERVBYPORT_R_BUFSIZE 4096

/* Define to 1 if you have AF_INET6. */
#define HAVE_AF_INET6 1

Expand Down Expand Up @@ -127,9 +121,6 @@
/* Define to 1 if you have the getnameinfo function. */
#define HAVE_GETNAMEINFO 1

/* Define to 1 if you have the getservbyport_r function. */
#define HAVE_GETSERVBYPORT_R 1

/* Define to 1 if you have the `gettimeofday' function. */
#define HAVE_GETTIMEOFDAY 1

Expand Down
9 changes: 0 additions & 9 deletions deps/build-config/config_cygwin/ares_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,6 @@
/* Define to the type of arg 7 for getnameinfo. */
#define GETNAMEINFO_TYPE_ARG7 int

/* Specifies the number of arguments to getservbyport_r */
/* #undef GETSERVBYPORT_R_ARGS */

/* Specifies the size of the buffer to pass to getservbyport_r */
/* #undef GETSERVBYPORT_R_BUFSIZE */

/* Define to 1 if you have AF_INET6. */
#define HAVE_AF_INET6 1

Expand Down Expand Up @@ -118,9 +112,6 @@
/* Define to 1 if you have the getnameinfo function. */
#define HAVE_GETNAMEINFO 1

/* Define to 1 if you have the getservbyport_r function. */
/* #undef HAVE_GETSERVBYPORT_R */

/* Define to 1 if you have the `gettimeofday' function. */
#define HAVE_GETTIMEOFDAY 1

Expand Down
9 changes: 0 additions & 9 deletions deps/build-config/config_darwin/ares_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,6 @@
/* Define to the type of arg 7 for getnameinfo. */
#define GETNAMEINFO_TYPE_ARG7 int

/* Specifies the number of arguments to getservbyport_r */
/* #undef GETSERVBYPORT_R_ARGS */

/* Specifies the size of the buffer to pass to getservbyport_r */
/* #undef GETSERVBYPORT_R_BUFSIZE */

/* Define to 1 if you have AF_INET6. */
#define HAVE_AF_INET6 1

Expand Down Expand Up @@ -127,9 +121,6 @@
/* Define to 1 if you have the getnameinfo function. */
#define HAVE_GETNAMEINFO 1

/* Define to 1 if you have the getservbyport_r function. */
/* #undef HAVE_GETSERVBYPORT_R */

/* Define to 1 if you have the `gettimeofday' function. */
#define HAVE_GETTIMEOFDAY 1

Expand Down

0 comments on commit da24940

Please sign in to comment.