OSDN Git Service

* toplev.h: In addition to checking _JBLEN, also check if `setjmp'
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Jan 1999 06:56:11 +0000 (06:56 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Jan 1999 06:56:11 +0000 (06:56 +0000)
        is a macro when deciding if we can use `jmp_buf' in prototypes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24514 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/toplev.h

index 83d6683..0783b5f 100644 (file)
@@ -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
index c309399..5809ef0 100644 (file)
@@ -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));