From ca5804a253c0e654ec6d6210aea9ee2574aad367 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 27 Sep 2013 12:28:25 +0300 Subject: DEVTOOLS: Make Coverity happy. This is mainly due to unhandled clang __has_featrure() buit-in. I do not like this hack, but Coverity proved to be a very good tool for us. --- devtools/create_project/create_project.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'devtools/create_project') diff --git a/devtools/create_project/create_project.h b/devtools/create_project/create_project.h index 5325bf6d1b..2f27cc2f61 100644 --- a/devtools/create_project/create_project.h +++ b/devtools/create_project/create_project.h @@ -23,6 +23,10 @@ #ifndef TOOLS_CREATE_PROJECT_H #define TOOLS_CREATE_PROJECT_H +#ifndef __has_feature // Optional of course. + #define __has_feature(x) 0 // Compatibility with non-clang compilers. +#endif + #include #include #include -- cgit v1.2.3