VideoCommon: make version check easier to read
This commit is contained in:
parent
0be03252cc
commit
dbc30c6c76
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
// This avoids a harmless warning from a system header in Clang;
|
// This avoids a harmless warning from a system header in Clang;
|
||||||
// see http://llvm.org/bugs/show_bug.cgi?id=16093
|
// see http://llvm.org/bugs/show_bug.cgi?id=16093
|
||||||
#ifdef __clang__ && __clang_major__ * 100 + __clang_minor__ < 304
|
#ifdef __clang__ && (__clang_major__ * 100 + __clang_minor__ < 304)
|
||||||
#pragma clang diagnostic ignored "-Wshadow"
|
#pragma clang diagnostic ignored "-Wshadow"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue