projects
/
platform
/
hal
/
api
/
sensor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0813c0b
)
Add conditional compile directive to avoid build error
42/258142/3
accepted/tizen/unified/20210526.010308
submit/tizen/20210510.064912
submit/tizen/20210523.234938
author
taemin.yeom
<taemin.yeom@samsung.com>
Tue, 11 May 2021 07:04:32 +0000
(16:04 +0900)
committer
taemin.yeom
<taemin.yeom@samsung.com>
Tue, 11 May 2021 07:48:03 +0000
(16:48 +0900)
Change-Id: I4e6d3bda7bcea0af59793344b0787b9aa89114b0
Signed-off-by: taemin.yeom <taemin.yeom@samsung.com>
haltest/sensor-haltest.h
patch
|
blob
|
history
diff --git
a/haltest/sensor-haltest.h
b/haltest/sensor-haltest.h
index 033fb759fe1608a63e504c823d2aa3dd677c1515..3e030f102d5435e701842338f6167b9df7b230cf 100644
(file)
--- 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 { \