aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Michael Lumish <mlumish@google.com>2017-01-18 08:16:56 -0800
committerGravatar GitHub <noreply@github.com>2017-01-18 08:16:56 -0800
commitd1cfffe758129cae1ed7560f6e0f20cadb5a67a8 (patch)
tree88427195f72304be7664b17d67179fc9281747b3 /src
parentb343ef1f0288eeeca6d075b89dad27cc18590d72 (diff)
parente375975e0d9e80516698271233a1d92ff1160a7f (diff)
Merge pull request #8957 from murgatroid99/makefile_ruby_version_fixes
Fix Ruby compilation problems on MinGW
Diffstat (limited to 'src')
-rw-r--r--src/core/ext/census/tracing.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/core/ext/census/tracing.c b/src/core/ext/census/tracing.c
index 3b5d6dab2b..9371fffc8d 100644
--- a/src/core/ext/census/tracing.c
+++ b/src/core/ext/census/tracing.c
@@ -31,15 +31,21 @@
*
*/
+//#include "src/core/ext/census/tracing.h"
+
#include <grpc/census.h>
+#include <stdlib.h>
/* TODO(aveitch): These are all placeholder implementations. */
int census_trace_mask(const census_context *context) {
+ abort();
return CENSUS_TRACE_MASK_NONE;
}
-void census_set_trace_mask(int trace_mask) {}
+void census_set_trace_mask(int trace_mask) { abort(); }
void census_trace_print(census_context *context, uint32_t type,
- const char *buffer, size_t n) {}
+ const char *buffer, size_t n) {
+ abort();
+}