diff options
author | Eugene Sandulenko | 2013-09-27 12:28:25 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2013-09-27 12:28:25 +0300 |
commit | ca5804a253c0e654ec6d6210aea9ee2574aad367 (patch) | |
tree | 6b6f79f094fe041ae27723e3bbb95935aedea529 /devtools/create_project | |
parent | 8053989dd13acc15ad911bf2511311f5cfa206ba (diff) | |
download | scummvm-rg350-ca5804a253c0e654ec6d6210aea9ee2574aad367.tar.gz scummvm-rg350-ca5804a253c0e654ec6d6210aea9ee2574aad367.tar.bz2 scummvm-rg350-ca5804a253c0e654ec6d6210aea9ee2574aad367.zip |
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.
Diffstat (limited to 'devtools/create_project')
-rw-r--r-- | devtools/create_project/create_project.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 <map> #include <list> #include <string> |