diff options
author | Benny Prijono <bennylp@teluu.com> | 2008-01-18 17:18:55 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2008-01-18 17:18:55 +0000 |
commit | 15f4b16b564ed093fc452ccfeb1f40ae10c24bd4 (patch) | |
tree | f46b7da32bb6dc9302a5f063349828333725936b /pjsip-apps | |
parent | 0beea1ebdc97f17915baf8dfdeb50bc516714e10 (diff) |
Fixed python module build error (thanks Jeff Ames)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1706 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps')
-rw-r--r-- | pjsip-apps/src/py_pjsua/py_pjsua.c | 2 | ||||
-rw-r--r-- | pjsip-apps/src/py_pjsua/setup.py | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/pjsip-apps/src/py_pjsua/py_pjsua.c b/pjsip-apps/src/py_pjsua/py_pjsua.c index b1abbdad..22814245 100644 --- a/pjsip-apps/src/py_pjsua/py_pjsua.c +++ b/pjsip-apps/src/py_pjsua/py_pjsua.c @@ -35,7 +35,7 @@ static long thread_id; * cb_log_cb * declares method for reconfiguring logging process for callback struct */ -static void cb_log_cb(int level, const char *data, pj_size_t len) +static void cb_log_cb(int level, const char *data, int len) { /* Ignore if this callback is called from alien thread context, diff --git a/pjsip-apps/src/py_pjsua/setup.py b/pjsip-apps/src/py_pjsua/setup.py index 590159c7..936ed0a1 100644 --- a/pjsip-apps/src/py_pjsua/setup.py +++ b/pjsip-apps/src/py_pjsua/setup.py @@ -22,10 +22,11 @@ for line in f: pj_libs.append(line.rstrip("\r\n")) f.close() -setup(name="py_pjsua", version="0.7", +setup(name="py_pjsua", version="0.8", ext_modules = [ Extension("py_pjsua", ["py_pjsua.c"], + define_macros=[('PJ_AUTOCONF', '1'),], include_dirs=pj_inc_dirs, library_dirs=pj_lib_dirs, libraries=pj_libs), |