Compiler.h: add macro CLANG_OR_GCC_VERSION()
This commit is contained in:

committed by
Max Kellermann

parent
a546bfe7d9
commit
ba69ade024
@@ -153,7 +153,7 @@ public:
|
||||
HttpdOutput(EventLoop &_loop);
|
||||
~HttpdOutput();
|
||||
|
||||
#if defined(__clang__) || GCC_CHECK_VERSION(4,7)
|
||||
#if CLANG_OR_GCC_VERSION(4,7)
|
||||
constexpr
|
||||
#endif
|
||||
static HttpdOutput *Cast(AudioOutput *ao) {
|
||||
|
Reference in New Issue
Block a user