summaryrefslogtreecommitdiff
path: root/pjlib/include/pj/except.h
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2007-05-02 11:29:37 +0000
committerBenny Prijono <bennylp@teluu.com>2007-05-02 11:29:37 +0000
commit8bb2ecb06d7e994b4b5c94af831fb02c465ecb49 (patch)
treedaf006ab1fcc27244ae19cf4816d61756cab84ad /pjlib/include/pj/except.h
parent67ecaf91d4e3383af948d75df8164436c7116bbc (diff)
PJSUA-LIB was ported to Symbian and added simple Symbian app. Testing follows
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1242 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include/pj/except.h')
-rw-r--r--pjlib/include/pj/except.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/pjlib/include/pj/except.h b/pjlib/include/pj/except.h
index 2f1f9ddd..610f4626 100644
--- a/pjlib/include/pj/except.h
+++ b/pjlib/include/pj/except.h
@@ -245,6 +245,11 @@ pj_throw_exception_(pj_exception_id_t id) PJ_ATTR_NORETURN
**
****************************************************************************/
+/* To include this file, the source file must be compiled as
+ * C++ code!
+ */
+#ifdef __cplusplus
+
class TPjException
{
public:
@@ -260,6 +265,8 @@ public:
while (0)
#define PJ_GET_EXCEPTION() pj_excp_.code_
+#endif /* __cplusplus */
+
#else
/*****************************************************************************
**