Henri Verbeet hverbeet@gmail.com writes:
On Sun, 18 Nov 2018 at 20:56, Andre Heider a.heider@gmail.com wrote:
wine/debug.h is a public header, and ARRAY_SIZE() is not defined for external projects.
The change itself seems harmless enough, but the premise seems wrong. Headers in include/wine are private Wine headers; why do you need (or want) to include wine/debug.h?
A few of these headers are public, the idea being that they describe the libwine API, which can potentially be used outside of Wine.
It's not clear that this is particularly useful, and maybe we should stop exporting them. But as long as they are exported, the change would make sense.