aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr/timer_heap.c
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2016-09-16 13:25:08 -0700
committerGravatar murgatroid99 <mlumish@google.com>2016-09-16 13:25:08 -0700
commit9030c81f20c3721e7b0a92564f6e4d772a78ffcb (patch)
tree3bbe7fbaa32805f15d2153e7c9b814846ebc23c9 /src/core/lib/iomgr/timer_heap.c
parent6257159a3ae19f5caa3b44bcd201fc9183963cfe (diff)
Add a libuv endpoint to the C core, for use in the Node library
Diffstat (limited to 'src/core/lib/iomgr/timer_heap.c')
-rw-r--r--src/core/lib/iomgr/timer_heap.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/lib/iomgr/timer_heap.c b/src/core/lib/iomgr/timer_heap.c
index 2ad9bb9cd2..f736d335e6 100644
--- a/src/core/lib/iomgr/timer_heap.c
+++ b/src/core/lib/iomgr/timer_heap.c
@@ -31,6 +31,10 @@
*
*/
+#include "src/core/lib/iomgr/port.h"
+
+#ifdef GRPC_TIMER_USE_GENERIC
+
#include "src/core/lib/iomgr/timer_heap.h"
#include <string.h>
@@ -144,3 +148,5 @@ grpc_timer *grpc_timer_heap_top(grpc_timer_heap *heap) {
void grpc_timer_heap_pop(grpc_timer_heap *heap) {
grpc_timer_heap_remove(heap, grpc_timer_heap_top(heap));
}
+
+#endif /* GRPC_TIMER_USE_GENERIC */