From fb0002cc36665a27796711cc5bd32cf99544aa16 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Mon, 7 Dec 2015 22:22:30 +0100 Subject: [PATCH] Renaming GCOV to GPR_GCOV. --- Makefile | 2 +- include/grpc/support/port_platform.h | 2 +- templates/Makefile.template | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 537f20b97b6..d7a3a3cf9c1 100644 --- a/Makefile +++ b/Makefile @@ -191,7 +191,7 @@ LD_gcov = gcc LDXX_gcov = g++ CPPFLAGS_gcov = -O0 -fprofile-arcs -ftest-coverage -Wno-return-type LDFLAGS_gcov = -fprofile-arcs -ftest-coverage -rdynamic -DEFINES_gcov = _DEBUG DEBUG GCOV +DEFINES_gcov = _DEBUG DEBUG GPR_GCOV # General settings. diff --git a/include/grpc/support/port_platform.h b/include/grpc/support/port_platform.h index 2c3df3f3020..557410beea5 100644 --- a/include/grpc/support/port_platform.h +++ b/include/grpc/support/port_platform.h @@ -252,7 +252,7 @@ #define GPR_PLATFORM_STRING "unknown" #endif -#ifdef GCOV +#ifdef GPR_GCOV #undef GPR_FORBID_UNREACHABLE_CODE #define GPR_FORBID_UNREACHABLE_CODE 1 #endif diff --git a/templates/Makefile.template b/templates/Makefile.template index e01185783d3..c1e472c00e7 100644 --- a/templates/Makefile.template +++ b/templates/Makefile.template @@ -207,7 +207,7 @@ LDXX_gcov = g++ CPPFLAGS_gcov = -O0 -fprofile-arcs -ftest-coverage -Wno-return-type LDFLAGS_gcov = -fprofile-arcs -ftest-coverage -rdynamic - DEFINES_gcov = _DEBUG DEBUG GCOV + DEFINES_gcov = _DEBUG DEBUG GPR_GCOV # General settings.