Ticket #5728: my-twisted-patch.patch

File my-twisted-patch.patch, 507 bytes (added by nibalizer, 4 years ago)

This patch allows twitsted to build on solaris.

  • twisted/python/sendmsg.c

     
    66#define PY_SSIZE_T_CLEAN 1
    77#include <Python.h>
    88
     9#if defined (__SVR4) && defined (__sun)
     10# define _XPG4_2 1
     11#endif
     12
     13
    914#if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN)
    1015/* This may cause some warnings, but if you want to get rid of them, upgrade
    1116 * your Python version.  */