From 75daba7501709cb33d425e2e1fcd3e0a10b79c99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Sat, 20 Dec 2014 01:09:58 +0000 Subject: [PATCH] Define CRYB_COVERAGE to 1 when building with coverage analysis. --- include/cryb/coverage.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/cryb/coverage.h b/include/cryb/coverage.h index 181efb2..647825b 100644 --- a/include/cryb/coverage.h +++ b/include/cryb/coverage.h @@ -31,9 +31,11 @@ #define CRYB_COVERAGE_H_INCLUDED #if _BullseyeCoverage -# define CRYB_DISABLE_COVERAGE _Pragma("BullseyeCoverage save off") -# define CRYB_RESTORE_COVERAGE _Pragma("BullseyeCoverage restore") +# define CRYB_COVERAGE 1 +# define CRYB_DISABLE_COVERAGE _Pragma("BullseyeCoverage save off") +# define CRYB_RESTORE_COVERAGE _Pragma("BullseyeCoverage restore") #else +# define CRYB_COVERAGE 0 # define CRYB_DISABLE_COVERAGE # define CRYB_RESTORE_COVERAGE #endif