From 074f4d74f58e86a1910ecc6d4fd6425222a0a8ab Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Tue, 11 Mar 2008 13:38:37 +0000 Subject: Added missing PJ_INT64() macro for Symbian compilers git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1858 74dad513-b988-da41-8d7b-12977e46ad98 --- pjlib/include/pj/compat/cc_codew.h | 8 +++++--- pjlib/include/pj/compat/cc_gcce.h | 2 ++ pjlib/include/pj/compat/cc_mwcc.h | 2 ++ 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/pjlib/include/pj/compat/cc_codew.h b/pjlib/include/pj/compat/cc_codew.h index cad9d0c5..bf39c8bc 100644 --- a/pjlib/include/pj/compat/cc_codew.h +++ b/pjlib/include/pj/compat/cc_codew.h @@ -16,8 +16,8 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef __PJ_COMPAT_CC_GCC_H__ -#define __PJ_COMPAT_CC_GCC_H__ +#ifndef __PJ_COMPAT_CC_CODEW_H__ +#define __PJ_COMPAT_CC_CODEW_H__ /** * @file cc_codew.h @@ -44,8 +44,10 @@ typedef long long pj_int64_t; typedef unsigned long long pj_uint64_t; +#define PJ_INT64(val) val##LL +#define PJ_UINT64(val) val##LLU #define PJ_INT64_FMT "L" -#endif /* __PJ_COMPAT_CC_GCC_H__ */ +#endif /* __PJ_COMPAT_CC_CODEW_H__ */ diff --git a/pjlib/include/pj/compat/cc_gcce.h b/pjlib/include/pj/compat/cc_gcce.h index d27dd2c2..c7f4488f 100644 --- a/pjlib/include/pj/compat/cc_gcce.h +++ b/pjlib/include/pj/compat/cc_gcce.h @@ -44,6 +44,8 @@ typedef long long pj_int64_t; typedef unsigned long long pj_uint64_t; +#define PJ_INT64(val) val##LL +#define PJ_UINT64(val) val##LLU #define PJ_INT64_FMT "L" diff --git a/pjlib/include/pj/compat/cc_mwcc.h b/pjlib/include/pj/compat/cc_mwcc.h index e22e9fb7..11fadf6d 100644 --- a/pjlib/include/pj/compat/cc_mwcc.h +++ b/pjlib/include/pj/compat/cc_mwcc.h @@ -44,6 +44,8 @@ typedef long long pj_int64_t; typedef unsigned long long pj_uint64_t; +#define PJ_INT64(val) val##LL +#define PJ_UINT64(val) val##LLU #define PJ_INT64_FMT "L" -- cgit v1.2.3