Skip to content

Commit

Permalink
Remove HAVE_SYS_RANDOM_H from ares
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 678430154
Change-Id: I17c906cf7d9bc7ad573d3532decc45a5263cca6e
  • Loading branch information
laramiel authored and copybara-github committed Sep 24, 2024
1 parent 7c8cb31 commit d993913
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ build:gcc_or_clang --host_per_file_copt=upb/.*\\.c$@-Wno-array-bounds,-Wno-strin
build:gcc_or_clang --per_file_copt=upbc/.*\\.cc$@-Wno-array-bounds,-Wno-stringop-overflow,-Wno-stringop-overread
build:gcc_or_clang --host_per_file_copt=upbc/.*\\.cc$@-Wno-array-bounds,-Wno-stringop-overflow,-Wno-stringop-overread

build:gcc_or_clang --per_file_copt=src/core.*\\.cc$@-Wno-attributes
build:gcc_or_clang --host_per_file_copt=src/core.*\\.cc$@-Wno-attributes
build:gcc_or_clang --per_file_copt=grpc/src/.*\\.cc$@-Wno-attributes
build:gcc_or_clang --host_per_file_copt=grpc/src/.*\\.cc$@-Wno-attributes

# Use colors
build:gcc_or_clang --copt=-fdiagnostics-color=always
Expand Down
4 changes: 2 additions & 2 deletions third_party/com_github_cares_cares/config/linux.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
#define HAVE_GETNAMEINFO 1

/* Define to 1 if you have the getrandom function. */
#define HAVE_GETRANDOM 1
/* #undef HAVE_GETRANDOM */

/* Define to 1 if you have the getservbyport_r function. */
#define HAVE_GETSERVBYPORT_R 1
Expand Down Expand Up @@ -328,7 +328,7 @@
#define HAVE_SYS_PARAM_H 1

/* Define to 1 if you have the <sys/random.h> header file. */
#define HAVE_SYS_RANDOM_H 1
/* #undef HAVE_SYS_RANDOM_H */

/* Define to 1 if you have the <sys/event.h> header file. */
/* #undef HAVE_SYS_EVENT_H */
Expand Down

0 comments on commit d993913

Please sign in to comment.