summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoungjae Shin <yj99.shin@samsung.com>2024-11-21 11:43:23 +0900
committerYoungjae Shin <yj99.shin@samsung.com>2024-11-21 11:47:54 +0900
commit6ee3d9f3ea4afbc3301186a5d654561bcf03feb6 (patch)
tree4eecb7f6a6af839d82d4c1bdb81f069e79150b51
parenta2a77b2195c57862f5d7a633d2313564f1578c78 (diff)
downloadmodes-accepted/tizen_unified.tar.gz
modes-accepted/tizen_unified.tar.bz2
modes-accepted/tizen_unified.zip
-rw-r--r--supervisor/RequestHandler.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/supervisor/RequestHandler.cpp b/supervisor/RequestHandler.cpp
index c400ce3..d56f248 100644
--- a/supervisor/RequestHandler.cpp
+++ b/supervisor/RequestHandler.cpp
@@ -18,6 +18,15 @@
#ifdef TIZEN_TEST_GCOV
extern "C" {
#include <gcov.h>
+
+#if (defined(__GNUC__) && ((__GNUC__ == 11 && __GNUC_MINOR__ >= 1) || (__GNUC__ >= 12))) \
+ || (defined(__clang__) && (__clang_major__ >= 12))
+#define __gcov_flush() \
+ do { \
+ __gcov_dump(); \
+ __gcov_reset(); \
+ } while (0)
+#endif
}
#endif
#include "ClientPrivilege.h"