#18 Compile on sun

closed-accepted
nobody
None
5
2009-07-19
2008-01-30
Anonymous
No

Patch that was created against a modified version of PyCXX used within KOffice.

That patch does fix compile on sun-systems. See also the bug-report at http://bugs.kde.org/show_bug.cgi?id=156950

Just add following to WrapPython.h befotre the #include <Python.h>

/* Prevent multiple conflicting definitions of swab from stdlib.h and unistd.h
See also http://bugs.kde.org/show_bug.cgi?id=156950 */
#if defined(__sun) || defined(sun)
#if defined(_XPG4)
#undef _XPG4
#endif
#endif

Discussion

  • Barry Alan Scott

    Committed as r195

     
  • Barry Alan Scott

    • status: open --> closed-accepted
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks