Module: sems Branch: master Commit: e5680878be1ccd36e665740949656d1785989e10 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=e5680878be1ccd36e665740949656d1785989e10
Author: debian <deb...@debian.(none)> Committer: debian <deb...@debian.(none)> Date: Thu Sep 23 22:26:04 2010 -0400 earlier than 4.7.6, include extra headers use old type conversion before 4.9 --- apps/py_sems/PySems.cpp | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/apps/py_sems/PySems.cpp b/apps/py_sems/PySems.cpp index 1cc0604..ae7672c 100644 --- a/apps/py_sems/PySems.cpp +++ b/apps/py_sems/PySems.cpp @@ -36,16 +36,17 @@ #include <sip.h> #include "sip/sipAPIpy_sems_lib.h" +// earlier than 4.7.6, include headers: #if SIP_VERSION < 0x040706 -#define SIP_USE_OLD_CLASS_CONVERSION 1 -#endif - -#ifdef SIP_USE_OLD_CLASS_CONVERSION #include "sip/sippy_sems_libPySemsDialog.h" #include "sip/sippy_sems_libPySemsB2BDialog.h" #include "sip/sippy_sems_libPySemsB2ABDialog.h" #endif +#if SIP_VERSION < 0x040901 +#define SIP_USE_OLD_CLASS_CONVERSION 1 +#endif + #include <unistd.h> #include <pthread.h> #include <regex.h> _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
