Skip to content

Commit

Permalink
Fix for compiling with python 2.5 (same as r6758 in trunk)
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/branches/Release-0_8_0@6897 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
telwertowski committed Apr 19, 2007
1 parent 1745a2e commit 859439d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/mapserver_export/msexport_wrap.cxx
Expand Up @@ -1174,7 +1174,7 @@ SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags)
obj = pyobj;
if (PyCFunction_Check(obj)) {
/* here we get the method pointer for callbacks */
#ifdef WIN32
#if 1 /* #ifdef WIN32 */
char *doc = (char *)(((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
#else
char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
Expand Down Expand Up @@ -2065,7 +2065,7 @@ extern "C" {
swig_type_info **types_initial) {
size_t i;
for (i = 0; methods[i].ml_name; ++i) {
#ifdef WIN32
#if 1 /* #ifdef WIN32 */
char *c = (char *)methods[i].ml_doc;
#else
char *c = methods[i].ml_doc;
Expand Down

0 comments on commit 859439d

Please sign in to comment.