Mercurial > emacs
view src/s/hpux11.h @ 57724:80393689541a
(USE_SAFE_ALLOCA): Add and init sa_must_free integer.
(SAFE_ALLOCA, SAFE_ALLOCA_LISP): Increment it when malloc is used.
(SAFE_FREE): Test it to determine if we need to unwind to free.
Remove size arg. All users changed.
(SAFE_FREE_LISP) Remove. All users changed to use SAFE_FREE.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Tue, 26 Oct 2004 22:37:02 +0000 |
parents | 695cf19ef79e |
children | 375f2633d815 cb1bfa1dca4f |
line wrap: on
line source
#include "hpux10-20.h" #define HPUX11 #ifdef POSIX_SIGNALS #undef POSIX_SIGNALS #endif #define POSIX_SIGNALS 1 /* SA_RESTART resets the timeout of `select', so don't use it. */ #define BROKEN_SA_RESTART /* It does work on HPUX to open the pty's tty in the parent (Emacs), then close and reopen it in the child. */ #define USG_SUBTTY_WORKS /* arch-tag: f5a3d780-82cd-4a9a-832e-a4031aab788b (do not change this comment) */