toplev.h: In addition to checking _JBLEN...
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Wed, 6 Jan 1999 06:56:11 +0000 (06:56 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Wed, 6 Jan 1999 06:56:11 +0000 (06:56 +0000)
        * 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

gcc/ChangeLog
gcc/toplev.h

index 83d6683f1ac524702243b361255282b88b5a1cae..0783b5f169c8fdc3c15a4ccddfc3b406f97c5c3a 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 c309399a8645706a4c6dc82a437ac72ac97f7923..5809ef05e8a3d25de34116ae145e18fd9cb0f10c 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));