[defined emacs]: Include "lisp.h".
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 5 Dec 2002 20:46:03 +0000 (20:46 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 5 Dec 2002 20:46:03 +0000 (20:46 +0000)
commita60e4adbcd19c2e45803804a57023eb943eb5777
treedf2d9511eb2fb047ba1a9fec212d35b16f079403
parent5f2f444d4f9664e57bfe1b03df8a6774b299a205
[defined emacs]: Include "lisp.h".
(xalloc_die) [defined emacs]: New macro.
(free) [defined emacs && defined EMACS_FREE]: Define to EMACS_FREE.
[! defined emacs]: Include <xalloc.h>.
(POINTER_TYPE) [!defined POINTER_TYPE]: New macro.
(pointer): Typedef to POINTER_TYPE *.
(malloc): Remove decl; we now always use xmalloc.
(alloca): Use old-style definition, since Emacs needs this.
Check for arithmetic overflow when computing combined size.
lib/alloca.c