From: Amine Khaldi Date: Tue, 31 Oct 2017 13:44:07 +0000 (+0100) Subject: [LIB/ATL] Take the gcc code path for the unused macros when compiling with clang... X-Git-Tag: v0.4.7~171 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=a75904fe6603de8a296d99e7d15585bb465eebf5 [LIB/ATL] Take the gcc code path for the unused macros when compiling with clang. CORE-11799 (#94) --- 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