diff options
| author | Paul Eggert | 2024-12-26 15:44:34 -0800 |
|---|---|---|
| committer | Paul Eggert | 2024-12-26 16:29:02 -0800 |
| commit | 577714e3fe722625236ce060f53b5d76f7933454 (patch) | |
| tree | 6d5c4d7891ed07e94d87fa55402c5bd6c16d6efc /java | |
| parent | a51642ba5fad891239552fe7e746fa160e3f88ea (diff) | |
| download | emacs-577714e3fe722625236ce060f53b5d76f7933454.tar.gz emacs-577714e3fe722625236ce060f53b5d76f7933454.zip | |
Don’t include stdlib.h from conf_post.h
This is brittle, as evinced by the recent problem with lib/stdlib.c.
* src/conf_post.h: Move potential inclusion of stdlib.h and
redefinitions of malloc, free, realloc, aligned_alloc, and calloc
from here ...
* src/lisp.h: ... to here. Do not redefine the symbols
if UNEXMACOS_C is defined.
* src/unexmacosx.c: Do not undef malloc, realloc, free.
(UNEXMACOS_C): New symbol, to prevent lisp.h from defining them.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions