diff options
author | taemin.yeom <taemin.yeom@samsung.com> | 2021-05-11 16:04:32 +0900 |
---|---|---|
committer | taemin.yeom <taemin.yeom@samsung.com> | 2021-05-11 16:48:03 +0900 |
commit | 452278d1f20aebc46f4dc7a78a190d6e0baaf618 (patch) | |
tree | c950610adb7bf862911e0e68ebad9709030bd94e | |
parent | 0813c0b54e38beb0f84d1b5d1f0a455bdb12474f (diff) | |
download | sensor-452278d1f20aebc46f4dc7a78a190d6e0baaf618.tar.gz sensor-452278d1f20aebc46f4dc7a78a190d6e0baaf618.tar.bz2 sensor-452278d1f20aebc46f4dc7a78a190d6e0baaf618.zip |
Add conditional compile directive to avoid build errorsubmit/tizen/20210523.234938submit/tizen/20210510.064912accepted/tizen/unified/20210526.010308
Change-Id: I4e6d3bda7bcea0af59793344b0787b9aa89114b0
Signed-off-by: taemin.yeom <taemin.yeom@samsung.com>
-rw-r--r-- | haltest/sensor-haltest.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/haltest/sensor-haltest.h b/haltest/sensor-haltest.h index 033fb75..3e030f1 100644 --- a/haltest/sensor-haltest.h +++ b/haltest/sensor-haltest.h @@ -19,6 +19,7 @@ #include <gtest/gtest.h> #include <string.h> +#if (GTEST_VERSION_MAJOR < 1 || (GTEST_VERSION_MAJOR == 1 && GTEST_VERSION_MINOR < 10)) // hack gtest internal for print message namespace testing { @@ -34,6 +35,7 @@ namespace testing extern void ColoredPrintf(GTestColor color, const char* fmt, ...); } } +#endif #define SKIP_MESSAGE(fmt, args...) \ do { \ |