On Mon, Jul 2, 2018 at 12:39 PM Alexandre Julliard julliard@winehq.org wrote:
Zebediah Figura z.figura12@gmail.com writes:
On 01/07/18 21:53, Zebediah Figura wrote:
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45199 Signed-off-by: Zebediah Figura z.figura12@gmail.com
include/windef.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
Apologies; this won't work unless we include config.h in windef.h (or everywhere windef.h is used). Is this acceptable or should we arrange things differently?
No, headers that are installed globally can't depend on config.h, since it's only available when building Wine itself.
In that case, I think we want to just add __attribute__((__ms_hook_prologue__)) if the GCC version is >= 4.6.
-Alex