view src/s/ptx4-2.h @ 35183:cc2a06489f0d

(CHECK_STRING_BYTES) [GC_CHECK_STRING_BYTES]: New macro. (check_sblock, string_bytes) [GC_CHECK_STRING_BYTES]: New functions. (check_string_bytes) [GC_CHECK_STRING_BYTES]: Add parameter ALL_P. (allocate_string) [GC_CHECK_STRING_BYTES]: Always check strings in the current sblock. (mark_object) [GC_CHECK_STRING_BYTES]: Use CHECK_STRING_BYTES. (gc_sweep) [GC_CHECK_STRING_BYTES]: Call check_string_bytes after sweeping strings, and at the end. (GC_CHECK_STRING_BYTES): Moved to lisp.h.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 09 Jan 2001 20:10:50 +0000
parents c2bb9ab28588
children 695cf19ef79e
line wrap: on
line source

#include "ptx4.h"

/* Gelling Kevan (gellingk.eurostar@ems.rail.co.uk)
   says that PTX 4.2.3 needs this version.  */
#undef SETUP_SLAVE_PTY
#define SETUP_SLAVE_PTY \
    if (ioctl (xforkin, I_PUSH, "ptem") == -1)    \
      fatal ("ioctl I_PUSH ptem", errno);        \
    if (ioctl (xforkin, I_PUSH, "ldterm") == -1)  \
      fatal ("ioctl I_PUSH ldterm", errno);

/* Gelling Kevan (gellingk.eurostar@ems.rail.co.uk)
   says that gmalloc.c needs _POSIX_SOURCE.
   This defines _POSIX_SOURCE only for gmalloc.c.  */
#ifdef _MALLOC_INTERNAL
#define _POSIX_SOURCE
#endif