view src/s/sunos4-1-4.h @ 4680:891381effa11

Eliminate 781 funcalls at startup, simple.el 2009-08-18 Aidan Kehoe <kehoea@parhasard.net> * simple.el (handle-pre-motion-command-current-command-is-motion): Replace mapc + #'(lambda ...) with dolist, eliminating 781 funcalls at XEmacs startup and decreasing GC a little.
author Aidan Kehoe <kehoea@parhasard.net>
date Tue, 18 Aug 2009 12:34:34 +0100
parents e04119814345
children
line wrap: on
line source

/* Synched up with: FSF 19.31. */

#include "sunos4-1.h"

#if 0
/* XEmacs: FSF 19.31 removes this.  Let's just comment it out. */
/* TERMIOS is broken under SunOS??

   Someone says: 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.  */
#undef HAVE_TERMIOS
#endif

#if 0
/* XEmacs: FSF 19.31 mistakenly reenables this. */
/* 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
#endif /* 0 */

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

/* A reliable source says this is broken through SunOS 4.1.3 */
/* but not SunOS 4.1.4 */
#ifdef BROKEN_SIGIO
#undef BROKEN_SIGIO
#endif