diff options
| author | shuffle2 <godisgovernment@gmail.com> | 2014-07-14 01:55:31 -0700 |
|---|---|---|
| committer | shuffle2 <godisgovernment@gmail.com> | 2014-07-14 01:55:31 -0700 |
| commit | 0c6eeaff05bd4975fd33880af1ddf45fc09ca763 (patch) | |
| tree | b28869146dc3e720d8ea050c4e745ad57bb04faf /Source/Core/VideoCommon/TextureDecoder_x64.cpp | |
| parent | 1464cfee137a99082fca4d989dfb1280d8c81f9f (diff) | |
| parent | dbc30c6c763566161e52bbbe387bad2465868598 (diff) | |
Merge pull request #617 from Tilka/clang_bug
VideoCommon: fix clang version check
Diffstat (limited to 'Source/Core/VideoCommon/TextureDecoder_x64.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/TextureDecoder_x64.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/TextureDecoder_x64.cpp b/Source/Core/VideoCommon/TextureDecoder_x64.cpp index 10b675a772..883837e6fd 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__ && __clang_major__ * 100 + __clang_minor__ <= 304 +#ifdef __clang__ && (__clang_major__ * 100 + __clang_minor__ < 304) #pragma clang diagnostic ignored "-Wshadow" #endif |
