aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2002-12-10 19:46:49 +0000
committerJeff Johnston <jjohnstn@redhat.com>2002-12-10 19:46:49 +0000
commitea01c7f5d25779a88d6476da8b7f780379bc0c05 (patch)
tree08ea428081e434efa6a80eee15db79be8cf6f26b
parentd6a24c4840cc3408084f6a9e06710a552d86987a (diff)
downloadnewlib-ea01c7f5d25779a88d6476da8b7f780379bc0c05.zip
newlib-ea01c7f5d25779a88d6476da8b7f780379bc0c05.tar.gz
newlib-ea01c7f5d25779a88d6476da8b7f780379bc0c05.tar.bz2
2002-12-10 Joel Sherrill <joel@OARcorp.com>
* libc/include/machine/setjmp.h: Make sure _JBLEN is defined for i386-rtems targets.
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/include/machine/setjmp.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 7a97c2a..43d6874 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,8 @@
+2002-12-10 Joel Sherrill <joel@OARcorp.com>
+
+ * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
+ for i386-rtems targets.
+
2002-12-06 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/stdlib.h (strtof): New prototype (from C99).
diff --git a/newlib/libc/include/machine/setjmp.h b/newlib/libc/include/machine/setjmp.h
index be82e3e..405eb2c 100644
--- a/newlib/libc/include/machine/setjmp.h
+++ b/newlib/libc/include/machine/setjmp.h
@@ -52,8 +52,8 @@ _BEGIN_STD_C
#if defined(__CYGWIN__) && !defined (_JBLEN)
#define _JBLEN (13 * 4)
#elif defined (__i386__)
-#ifdef __unix__
-# define _JBLEN 36
+#if defined(__unix__) || defined(__rtems__)
+# define _JBLEN 9
#else
#include "setjmp-dj.h"
#endif