1e0feb5cf9
Clang reports itself to be gcc4.2, so there fail there, instead use configure checks. Change-Id: Idb44a5c875b24a15546a6495de02a1b4af898443
34 lines
1.1 KiB
C
34 lines
1.1 KiB
C
/*
|
|
Global configuration file.
|
|
|
|
Only for settings that apply to every source file and are unlikely to change often,
|
|
such as whether a certain C++11 feature is available.
|
|
|
|
Do NOT use for settings local to some code or for settings that can change often.
|
|
Any change in this header will cause a rebuild of almost everything.
|
|
|
|
*/
|
|
|
|
#ifndef CONFIG_GLOBAL_H
|
|
#define CONFIG_GLOBAL_H
|
|
|
|
/* Prefer using a feature-specific check such as HAVE_CXX11_DELETE to the generic HAVE_CXX11. */
|
|
#define HAVE_CXX11 0
|
|
#define HAVE_CXX11_DELETE 0
|
|
#define HAVE_CXX11_OVERRIDE 0
|
|
#define HAVE_CXX11_FINAL 0
|
|
#define HAVE_CXX11_PERFECT_FORWARDING 0
|
|
#define HAVE_GCC_BUILTIN_ATOMIC 0
|
|
#define HAVE_GCC_PRAGMA_DIAGNOSTIC_MODIFY 0
|
|
#define HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPE 0
|
|
/* _Pragma */
|
|
#define HAVE_GCC_PRAGMA_OPERATOR 0
|
|
#define HAVE_GCC_DEPRECATED_MESSAGE 0
|
|
#define HAVE_THREADSAFE_STATICS 0
|
|
#define HAVE_SYSLOG_H 0
|
|
/* Compiler supports __attribute__((warn_unused)). */
|
|
#define HAVE_GCC_ATTRIBUTE_WARN_UNUSED 0
|
|
/* C++ library uses __attribute__((warn_unused)) for basic types like std::string. */
|
|
#define HAVE_GCC_ATTRIBUTE_WARN_UNUSED_STL 0
|
|
|
|
#endif
|