From: Kaveh R. Ghazi Date: Wed, 6 Jan 1999 06:56:11 +0000 (+0000) Subject: toplev.h: In addition to checking _JBLEN... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2813b56e0162a9ce1e9ba96c2b680c34bcecf830;p=gcc.git toplev.h: In addition to checking _JBLEN... * toplev.h: In addition to checking _JBLEN, also check if `setjmp' is a macro when deciding if we can use `jmp_buf' in prototypes. From-SVN: r24514 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 83d6683f1ac..0783b5f169c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Wed Jan 6 09:44:51 1999 Kaveh R. Ghazi + + * toplev.h: In addition to checking _JBLEN, also check if `setjmp' + is a macro when deciding if we can use `jmp_buf' in prototypes. + Thu Jan 7 00:12:24 1999 Michael Hayes * config/c4x/c4x.md (addqi3): If the destination operand is diff --git a/gcc/toplev.h b/gcc/toplev.h index c309399a864..5809ef05e8a 100644 --- a/gcc/toplev.h +++ b/gcc/toplev.h @@ -56,7 +56,7 @@ extern void error_for_asm PVPROTO((struct rtx_def *, char *, ...)) ATTRIBUTE_PRINTF_2; extern void warning_for_asm PVPROTO((struct rtx_def *, char *, ...)) ATTRIBUTE_PRINTF_2; -#ifdef _JBLEN +#if defined (_JBLEN) || defined (setjmp) extern void set_float_handler PROTO((jmp_buf)); extern int push_float_handler PROTO((jmp_buf, jmp_buf)); extern void pop_float_handler PROTO((int, jmp_buf));