view src/s/sunos413.h @ 11622:eba5c25341ff

(PUSH_FAILURE_INT, POP_FAILURE_INT): Use WIDE_INT. (WIDE_INT): Defined (two alternate definitions). (C_ALLOCA): Undef it, if __GNUC__. (REGEX_ALLOCATE_STACK, REGEX_REALLOCATE_STACK) (REGEX_FREE_STACK): New macros. (INIT_FAIL_STACK, DOUBLE_FAIL_STACK, FREE_VARIABLES): Use them. (re_max_failures) [REL_ALLOC]: Alternative larger initial value. (re_compile_fastmap): Use REGEX_FREE_STACK. (re_match_2_internal): Always call FREE_VARIABLES before returning. Always init regstart, old_regstart, etc. whenever MATCH_MAY_ALLOCATE is defined. (FREE_VARIABLES) [REL_ALLOC]: Define non-trivially.
author Richard M. Stallman <rms@gnu.org>
date Sat, 29 Apr 1995 20:21:41 +0000
parents 4721ac2f48cb
children b2e67adcc76e
line wrap: on
line source

/* As of 19.29, it should work ok to use shared libs with X.  */
#include "sunos4shr.h"

#if 0
#include "sunos4-1.h"

/* jik@gza.com says this works now.  */
/* The bug that corrupts GNU malloc's memory pool is fixed in SunOS 4.1.3. */

#undef SYSTEM_MALLOC

#if 0 /* This causes failure in process_send_signal (tcgetattr loses)
	 and may also cause hanging at Emacs startup when parent
	 is not a job control shell.  */
/* murray@chemical-eng.edinburgh.ac.uk says this works, and avoids
   the problem of spurious ^M in subprocess output.  */
#define HAVE_TERMIOS
/* This enables some #undefs in systty.h.  */
#define BSD_TERMIOS
#endif

/* barrie@calvin.demon.co.uk says memmove is missing.  */
#ifndef SYSTEM_MALLOC
#define MEMMOVE_MISSING
#endif
#endif /* 0 */