]> git.eshelyaron.com Git - emacs.git/commit
Fix the MS-Windows build broken by "Let the OS clear large new objects"
authorEli Zaretskii <eliz@gnu.org>
Fri, 3 Jan 2020 16:27:35 +0000 (18:27 +0200)
committerEli Zaretskii <eliz@gnu.org>
Fri, 3 Jan 2020 16:27:35 +0000 (18:27 +0200)
commit2b6d702e5d2d572640c6bcd43f54138bacbe7ac8
tree0583cef4073643f6a9d1529d9df09089ae93e93c
parentfa7148fd5ac7c10c32a1cdcf57ade55bc3be8718
Fix the MS-Windows build broken by "Let the OS clear large new objects"

* src/w32heap.c (sys_calloc): New function, implements calloc
in terms of our private implementations of malloc.

* nt/inc/ms-w32.h (calloc): Redirect to sys_calloc.
nt/inc/ms-w32.h
src/w32heap.c