diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:25 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:25 -0800 |
commit | db04688faa20f3576257c0fe41752ec435beab9a (patch) | |
tree | 6d638c2e1f65afd5f49d20b2d22ce35bd74705ff /continue.h | |
parent | 1edcb9b62a1a520eddae8403c19d841c9b18737f (diff) | |
download | scm-fa3c5b99da02d5af2454b1e1cb7bf250c5efdaa2.tar.gz scm-fa3c5b99da02d5af2454b1e1cb7bf250c5efdaa2.zip |
Import Upstream version 5c3upstream/5c3
Diffstat (limited to 'continue.h')
-rw-r--r-- | continue.h | 16 |
1 files changed, 13 insertions, 3 deletions
@@ -64,9 +64,16 @@ # else /* ndef _CRAY1 */ # include <setjmp.h> -# define jump_buf jmp_buf -# define setjump setjmp -# define longjump longjmp +# include <signal.h> +# ifdef SIG_UNBLOCK +# define jump_buf sigjmp_buf +# define setjump(buf) sigsetjmp((buf), !0) +# define longjump siglongjmp +# else +# define jump_buf jmp_buf +# define setjump setjmp +# define longjump longjmp +# endif /* ndef HAVE_SIGSETJMP */ # endif /* ndef _CRAY1 */ #endif /* ndef vax */ @@ -83,6 +90,9 @@ #ifdef THINK_C # define SHORT_ALIGN #endif +#ifdef __MWERKS__ +# define SHORT_ALIGN +#endif #ifdef MSDOS # define SHORT_ALIGN #endif |