From a75904fe6603de8a296d99e7d15585bb465eebf5 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Tue, 31 Oct 2017 14:44:07 +0100 Subject: [PATCH] [LIB/ATL] Take the gcc code path for the unused macros when compiling with clang. CORE-11799 (#94) --- sdk/lib/atl/atlwin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/lib/atl/atlwin.h b/sdk/lib/atl/atlwin.h index 3f68348a4ee..76b1073ed5c 100644 --- a/sdk/lib/atl/atlwin.h +++ b/sdk/lib/atl/atlwin.h @@ -20,7 +20,7 @@ #pragma once -#ifdef __GNUC__ +#if defined(__GNUC__) || defined(__clang__) #define GCCU(x) x __attribute__((unused)) #define Unused(x) #else