From 4063694d20729d70b277930da55e5b70296716db Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Tue, 15 Jul 2014 04:15:49 +0200 Subject: [PATCH] VideoCommon: fix ifdef expression --- Source/Core/VideoCommon/TextureDecoder_x64.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/VideoCommon/TextureDecoder_x64.cpp b/Source/Core/VideoCommon/TextureDecoder_x64.cpp index 883837e6fd..0edfbc0b45 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) +#if defined(__clang__) && (__clang_major__ * 100 + __clang_minor__ < 304) #pragma clang diagnostic ignored "-Wshadow" #endif