bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs build fails on Windows mingw64


From: Paul Eggert
Subject: Re: Emacs build fails on Windows mingw64
Date: Sun, 24 Oct 2021 08:27:54 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 10/24/21 6:50 AM, Andy Moreton wrote:
An alternative workaround in ntlib.c is to add the missing defines
before including <windows.h>:

#define _GL_ATTRIBUTE_MALLOC
#define _GL_ATTRIBUTE_DEALLOC_FREE

Although that works around this particular problem, it is vulnerable to future changes in Gnulib that add more such macros, and it's likely other Emacs source files would need similar workarounds in the future (or perhaps even now, in slightly-different MS-Windows configurations? I have no clue about the MS-Windows side).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]