summaryrefslogtreecommitdiff
path: root/pjlib/include/pj/compat/cc_gcc.h
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-06-28 15:26:43 +0000
committerBenny Prijono <bennylp@teluu.com>2006-06-28 15:26:43 +0000
commite45455dcdf6c90ab84da1f59da70f36d1e86ece4 (patch)
treec087a691ba5133220c828bef984f981de49ae628 /pjlib/include/pj/compat/cc_gcc.h
parentba4c0662d0f0896ebc73d9259f64a38e58517075 (diff)
Added PJ_INT64() and PJ_UINT64() macro to construct 64bit constants in portable manner
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@560 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include/pj/compat/cc_gcc.h')
-rw-r--r--pjlib/include/pj/compat/cc_gcc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pjlib/include/pj/compat/cc_gcc.h b/pjlib/include/pj/compat/cc_gcc.h
index fa9c2aca..11dfd81e 100644
--- a/pjlib/include/pj/compat/cc_gcc.h
+++ b/pjlib/include/pj/compat/cc_gcc.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"