Fixed python module build error (thanks Jeff Ames)

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1706 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/pjsip-apps/src/py_pjsua/py_pjsua.c b/pjsip-apps/src/py_pjsua/py_pjsua.c
index b1abbda..2281424 100644
--- a/pjsip-apps/src/py_pjsua/py_pjsua.c
+++ b/pjsip-apps/src/py_pjsua/py_pjsua.c
@@ -35,7 +35,7 @@
  * 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 590159c..936ed0a 100644
--- a/pjsip-apps/src/py_pjsua/setup.py
+++ b/pjsip-apps/src/py_pjsua/setup.py
@@ -22,10 +22,11 @@
 	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),