From ef005cc73272608234215fdfbcba2ef688fa0c8b Mon Sep 17 00:00:00 2001 From: Michael Bentley Date: Fri, 11 Oct 2019 09:19:59 -0600 Subject: [PATCH] testsuites/bench: fix compiler warning Compiler warns of duplicate macro definition for CU_ENABLE_TIMER. This change simply surrounds it with an . --- src/testsuites/bench.c | 3 +++ src/testsuites/bench2.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/testsuites/bench.c b/src/testsuites/bench.c index 8ca770c..60070fc 100644 --- a/src/testsuites/bench.c +++ b/src/testsuites/bench.c @@ -1,4 +1,7 @@ +#ifndef CU_ENABLE_TIMER #define CU_ENABLE_TIMER +#endif + #include #include #include diff --git a/src/testsuites/bench2.c b/src/testsuites/bench2.c index 465acf3..de81aab 100644 --- a/src/testsuites/bench2.c +++ b/src/testsuites/bench2.c @@ -1,4 +1,7 @@ +#ifndef CU_ENABLE_TIMER #define CU_ENABLE_TIMER +#endif + #include #include #include