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