On Wed, 2020-10-14 at 20:48 +0000, Moore, Robert wrote: > I'm afraid that the macro does not compile under MSVC: > > warning C4067: unexpected tokens following preprocessor directive - expected a newline (compiling source file ..\..\source\tools\acpiexec\aetests.c) > > It looks like "__has_attribute" is not supported. It looks more like compiler.h/compiler_types.h/compiler_attributes.h doesn't support msvc.