svn commit: trunk/uClibc/libc/sysdeps/linux/sh/bits
vapier at uclibc.org
vapier at uclibc.org
Wed Nov 16 03:13:15 UTC 2005
Author: vapier
Date: 2005-11-15 19:13:13 -0800 (Tue, 15 Nov 2005)
New Revision: 12277
Log:
sync with glibc and fix warning when building pthreads
Modified:
trunk/uClibc/libc/sysdeps/linux/sh/bits/setjmp.h
Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/sh/bits/setjmp.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/sh/bits/setjmp.h 2005-11-16 03:04:47 UTC (rev 12276)
+++ trunk/uClibc/libc/sysdeps/linux/sh/bits/setjmp.h 2005-11-16 03:13:13 UTC (rev 12277)
@@ -44,11 +44,13 @@
} __jmp_buf[1];
#endif
-#define JB_SIZE (4 * 15)
+#if defined __USE_MISC || defined _ASM
+# define JB_SIZE (4 * 15)
+#endif
/* Test if longjmp to JMPBUF would unwind the frame
containing a local variable at ADDRESS. */
#define _JMPBUF_UNWINDS(jmpbuf, address) \
- ((void *) (address) < &(jmpbuf)[0].__regs[7])
+ ((void *) (address) < (void *) &(jmpbuf)[0].__regs[7])
#endif /* bits/setjmp.h */
More information about the uClibc-cvs
mailing list