diff options
author | Rob Browning <rlb@cs.utexas.edu> | 1997-12-12 17:29:42 -0600 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:24 -0800 |
commit | f64b2806c1d66a1341bb8b1491f384169ab1d65f (patch) | |
tree | 8b97dbe3640c60927959b0e63461ef9fcae591e0 /setjump.h | |
parent | 6dcb175d7f34d9f5a0b3ba623f94454ec16a73d6 (diff) | |
parent | 1edcb9b62a1a520eddae8403c19d841c9b18737f (diff) | |
download | scm-f64b2806c1d66a1341bb8b1491f384169ab1d65f.tar.gz scm-f64b2806c1d66a1341bb8b1491f384169ab1d65f.zip |
Import Debian changes 5b3-1debian/5b3-1
scm (5b3-1) unstable; urgency=low
* New maintainer
* New version
* libc6
Diffstat (limited to 'setjump.h')
-rw-r--r-- | setjump.h | 34 |
1 files changed, 17 insertions, 17 deletions
@@ -1,4 +1,4 @@ -/* Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc. +/* Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1997 Free Software Foundation, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -47,16 +47,16 @@ #ifdef PROT386 /*in 386 protected mode we must only adjust the offset */ -#define CELL_UP(p) MK_FP(FP_SEG(p), ~7&(FP_OFF(p)+7)) -#define CELL_DN(p) MK_FP(FP_SEG(p), ~7&FP_OFF(p)) +# define CELL_UP(p) MK_FP(FP_SEG(p), ~7&(FP_OFF(p)+7)) +# define CELL_DN(p) MK_FP(FP_SEG(p), ~7&FP_OFF(p)) #else -#ifdef _UNICOS -#define CELL_UP(p) (CELLPTR)(~1L & ((long)(p)+1L)) -#define CELL_DN(p) (CELLPTR)(~1L & (long)(p)) -#else -#define CELL_UP(p) (CELLPTR)(~(sizeof(cell)-1L) & ((long)(p)+sizeof(cell)-1L)) -#define CELL_DN(p) (CELLPTR)(~(sizeof(cell)-1L) & (long)(p)) -#endif /* UNICOS */ +# ifdef _UNICOS +# define CELL_UP(p) (CELLPTR)(~1L & ((long)(p)+1L)) +# define CELL_DN(p) (CELLPTR)(~1L & (long)(p)) +# else +# define CELL_UP(p) (CELLPTR)(~(sizeof(cell)-1L) & ((long)(p)+sizeof(cell)-1L)) +# define CELL_DN(p) (CELLPTR)(~(sizeof(cell)-1L) & (long)(p)) +# endif /* UNICOS */ #endif /* PROT386 */ /* These are parameters for controlling memory allocation. The heap @@ -85,13 +85,13 @@ #define INIT_HEAP_SIZE (25000L*sizeof(cell)) #define MIN_HEAP_SEG_SIZE (2000L*sizeof(cell)) #ifdef _QC -#define HEAP_SEG_SIZE 32400L -#else -#ifdef sequent -#define HEAP_SEG_SIZE (7000L*sizeof(cell)) +# define HEAP_SEG_SIZE 32400L #else -#define HEAP_SEG_SIZE (8100L*sizeof(cell)) -#endif +# ifdef sequent +# define HEAP_SEG_SIZE (7000L*sizeof(cell)) +# else +# define HEAP_SEG_SIZE (8100L*sizeof(cell)) +# endif #endif #define EXPHEAP(heap_size) (heap_size*2) #define INIT_MALLOC_LIMIT 100000 @@ -117,6 +117,6 @@ void dowinds P((SCM to, long delta)); #include "continue.h" /* See scm.h for definition of P */ -void mark_locations P((STACKITEM x [], sizet n )); +void mark_locations P((STACKITEM x[], sizet n )); void scm_dynthrow P((CONTINUATION *cont, SCM val)); #define s_cont (ISYMCHARS(IM_CONT)+20) |