summaryrefslogtreecommitdiff
path: root/pjlib/include
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2008-03-11 13:38:37 +0000
committerBenny Prijono <bennylp@teluu.com>2008-03-11 13:38:37 +0000
commit074f4d74f58e86a1910ecc6d4fd6425222a0a8ab (patch)
tree3166c26be3d6aa3761f63abd0a628fc8b0f0f643 /pjlib/include
parentbcf4367c3cb85d973b02ce35a0a9ee3a0285ae7a (diff)
Added missing PJ_INT64() macro for Symbian compilers
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1858 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include')
-rw-r--r--pjlib/include/pj/compat/cc_codew.h8
-rw-r--r--pjlib/include/pj/compat/cc_gcce.h2
-rw-r--r--pjlib/include/pj/compat/cc_mwcc.h2
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"