summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureDecoder_x64.cpp
diff options
context:
space:
mode:
authorTillmann Karras <tilkax@gmail.com>2014-07-14 02:12:48 +0200
committerTillmann Karras <tilkax@gmail.com>2014-07-14 02:12:48 +0200
commitb6f3ae23bcb4c07351114abaab554307d2286e91 (patch)
tree6e74c967d47df450884d5f36cfd97f6958124fcc /Source/Core/VideoCommon/TextureDecoder_x64.cpp
parent16582a0459c63dda34af553aa293b8e3efa398b3 (diff)
VideoCommon: version-check clang for workaround
The bug was fixed in clang 3.4.
Diffstat (limited to 'Source/Core/VideoCommon/TextureDecoder_x64.cpp')
-rw-r--r--Source/Core/VideoCommon/TextureDecoder_x64.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/TextureDecoder_x64.cpp b/Source/Core/VideoCommon/TextureDecoder_x64.cpp
index 245e5c6141..10b675a772 100644
--- a/Source/Core/VideoCommon/TextureDecoder_x64.cpp
+++ b/Source/Core/VideoCommon/TextureDecoder_x64.cpp
@@ -28,7 +28,7 @@
// This avoids a harmless warning from a system header in Clang;
// see http://llvm.org/bugs/show_bug.cgi?id=16093
-#ifdef __clang__
+#ifdef __clang__ && __clang_major__ * 100 + __clang_minor__ <= 304
#pragma clang diagnostic ignored "-Wshadow"
#endif