aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1999-01-06 06:56:11 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1999-01-06 06:56:11 +0000
commit2813b56e0162a9ce1e9ba96c2b680c34bcecf830 (patch)
tree4fa038bd1c5d50ff4721f51f9e56f3e9fdf481a8 /gcc
parente4e30b3dc47e29c672c4d3aef259568c820bd648 (diff)
downloadgcc-2813b56e0162a9ce1e9ba96c2b680c34bcecf830.zip
gcc-2813b56e0162a9ce1e9ba96c2b680c34bcecf830.tar.gz
gcc-2813b56e0162a9ce1e9ba96c2b680c34bcecf830.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/toplev.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 83d6683..0783b5f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Wed Jan 6 09:44:51 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * 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 <m.hayes@elec.canterbury.ac.nz>
* config/c4x/c4x.md (addqi3): If the destination operand is
diff --git a/gcc/toplev.h b/gcc/toplev.h
index c309399..5809ef0 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));