https://bugs.winehq.org/show_bug.cgi?id=54138
Bug ID: 54138 Summary: wine/debug.h does not compile in Visual Studio with native headers due to undefined __has_attribute Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: dimaki@rocketmail.com Distribution: ---
wine/debug.h does not compile in Visual Studio with native headers due to undefined __has_attribute.
Other headers in Wine that use __has_attribute have below code. Probably this or something similar needed in debug.h as well.
#ifndef __has_attribute #define __has_attribute(x) 0 #endif