https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a75904fe6603de8a296d99...
commit a75904fe6603de8a296d99e7d15585bb465eebf5 Author: Amine Khaldi amine.khaldi@reactos.org AuthorDate: Tue Oct 31 14:44:07 2017 +0100
[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 3f68348a4e..76b1073ed5 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