Skip to content
Snippets Groups Projects
Commit b6c44d42 authored by apolcyn's avatar apolcyn Committed by GitHub
Browse files

Merge pull request #11403 from apolcyn/remove_clock_gettime_calls

Avoid clock_gettime in cares, when grpc avoids it
parents 2f850801 4616dd06
No related branches found
No related tags found
No related merge requests found
...@@ -70,8 +70,14 @@ ...@@ -70,8 +70,14 @@
/* Define to 1 if bool is an available type. */ /* Define to 1 if bool is an available type. */
#define HAVE_BOOL_T 1 #define HAVE_BOOL_T 1
/* Define to 1 if you have the clock_gettime function and monotonic timer. */ /* Define HAVE_CLOCK_GETTIME_MONOTONIC to 1 if you have the clock_gettime
#define HAVE_CLOCK_GETTIME_MONOTONIC 1 * function and monotonic timer.
*
* Note: setting HAVE_CLOCK_GETTIME_MONOTONIC causes use of the clock_gettime
* function from glibc, don't set it to support glibc < 2.17 */
#ifndef GPR_BACKWARDS_COMPATIBILITY_MODE
#define HAVE_CLOCK_GETTIME_MONOTONIC 1
#endif
/* Define to 1 if you have the closesocket function. */ /* Define to 1 if you have the closesocket function. */
/* #undef HAVE_CLOSESOCKET */ /* #undef HAVE_CLOSESOCKET */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment