From f0208acffc0f20e7e557b3bb237cdd09d601e484 Mon Sep 17 00:00:00 2001 From: Jan Tattermusch Date: Tue, 29 Aug 2017 18:20:16 +0200 Subject: [PATCH] ares using monotonic clock on darwin breaks the build --- third_party/cares/config_darwin/ares_config.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/third_party/cares/config_darwin/ares_config.h b/third_party/cares/config_darwin/ares_config.h index 56dd86fda98..bca7cfbcc7b 100644 --- a/third_party/cares/config_darwin/ares_config.h +++ b/third_party/cares/config_darwin/ares_config.h @@ -67,7 +67,9 @@ #define HAVE_BOOL_T /* Define to 1 if you have the clock_gettime function and monotonic timer. */ -#define HAVE_CLOCK_GETTIME_MONOTONIC +/* IMPORTANT: gRPC MANUAL EDIT HERE! + * defining HAVE_CLOCK_GETTIME_MONOTONIC breaks the MacOS build on gRPC CI */ +/* #undef HAVE_CLOCK_GETTIME_MONOTONIC */ /* Define to 1 if you have the closesocket function. */ /* #undef HAVE_CLOSESOCKET */