mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-29 14:30:34 +02:00
remove mention of cheap continuations
* libguile/__scm.h: Inline an #ifndef CHEAP_CONTINUATIONS block for VMS, as we always have full continuations. * libguile/feature.c (scm_init_feature): Don't bother defining the "full-continuation" feature.
This commit is contained in:
parent
4f1ce27a36
commit
8e450381bf
2 changed files with 5 additions and 12 deletions
|
@ -337,15 +337,11 @@ typedef void *scm_t_subr;
|
|||
|
||||
|
||||
#ifdef vms
|
||||
# ifndef CHEAP_CONTINUATIONS
|
||||
typedef int jmp_buf[17];
|
||||
extern int setjump(jmp_buf env);
|
||||
extern int longjump(jmp_buf env, int ret);
|
||||
# define setjmp setjump
|
||||
# define longjmp longjump
|
||||
# else
|
||||
# include <setjmp.h>
|
||||
# endif
|
||||
typedef int jmp_buf[17];
|
||||
extern int setjump(jmp_buf env);
|
||||
extern int longjump(jmp_buf env, int ret);
|
||||
# define setjmp setjump
|
||||
# define longjmp longjump
|
||||
#else /* ndef vms */
|
||||
# ifdef _CRAY1
|
||||
typedef int jmp_buf[112];
|
||||
|
|
|
@ -111,9 +111,6 @@ scm_init_feature()
|
|||
#ifndef GO32
|
||||
scm_add_feature("char-ready?");
|
||||
#endif
|
||||
#ifndef CHEAP_CONTINUATIONS
|
||||
scm_add_feature ("full-continuation");
|
||||
#endif
|
||||
#if SCM_USE_PTHREAD_THREADS
|
||||
scm_add_feature ("threads");
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue