From 08d0de3ade0e6866aa3c09ffcc028d25233fe179 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Fri, 14 Jul 2006 15:20:00 +0000 Subject: Attempt to get some applications linked for RTEMS target, just to get the footprint calculation working git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@604 74dad513-b988-da41-8d7b-12977e46ad98 --- pjlib/include/pj/compat/setjmp.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'pjlib/include/pj') diff --git a/pjlib/include/pj/compat/setjmp.h b/pjlib/include/pj/compat/setjmp.h index 577956d9..15fd44b1 100644 --- a/pjlib/include/pj/compat/setjmp.h +++ b/pjlib/include/pj/compat/setjmp.h @@ -27,8 +27,12 @@ #if defined(PJ_HAS_SETJMP_H) && PJ_HAS_SETJMP_H != 0 # include typedef jmp_buf pj_jmp_buf; -# define pj_setjmp(buf) setjmp(buf) -# define pj_longjmp(buf,d) longjmp(buf,d) +# ifndef pj_setjmp +# define pj_setjmp(buf) setjmp(buf) +# endif +# ifndef pj_longjmp +# define pj_longjmp(buf,d) longjmp(buf,d) +# endif #elif defined(PJ_LINUX_KERNEL) && PJ_LINUX_KERNEL != 0 && \ defined(PJ_M_I386) && PJ_M_I386 != 0 -- cgit v1.2.3