summaryrefslogtreecommitdiff
path: root/pjlib/include
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2010-01-06 08:34:41 +0000
committerBenny Prijono <bennylp@teluu.com>2010-01-06 08:34:41 +0000
commit50aba46a7d97ae0d4cad9d5b9374fbbe5210b3f2 (patch)
treee390b833c43382997b3571c4fbd03bc6cc592aae /pjlib/include
parent12e284a7c993bcb7c3c3d93b8e355df5242bdb48 (diff)
Ticket #992: Symbian build issues using RVCT compiler (thanks Gabor Tanka for the fix)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3046 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include')
-rw-r--r--pjlib/include/pj/compat/cc_armcc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/pjlib/include/pj/compat/cc_armcc.h b/pjlib/include/pj/compat/cc_armcc.h
index 1761c228..ca25164c 100644
--- a/pjlib/include/pj/compat/cc_armcc.h
+++ b/pjlib/include/pj/compat/cc_armcc.h
@@ -30,9 +30,9 @@
#endif
#define PJ_CC_NAME "armcc"
-#define PJ_CC_VER_1 __ARMCC__
-#define PJ_CC_VER_2 __ARMCC_MINOR__
-#define PJ_CC_VER_3 __ARMCC_PATCHLEVEL__
+#define PJ_CC_VER_1 (__ARMCC_VERSION/100000)
+#define PJ_CC_VER_2 ((__ARMCC_VERSION%100000)/10000)
+#define PJ_CC_VER_3 (__ARMCC_VERSION%10000)
#ifdef __cplusplus
# define PJ_INLINE_SPECIFIER inline