Annotation of pkgsrc/lang/python27/patches/patch-Modules_posixmodule.c, revision 1.1

1.1     ! ryoon       1: $NetBSD$
        !             2: 
        !             3: --- Modules/posixmodule.c.orig 2014-06-30 02:05:43.000000000 +0000
        !             4: +++ Modules/posixmodule.c
        !             5: @@ -317,6 +317,10 @@ extern int lstat(const char *, struct st
        !             6:  #define PARSE_PID "i"
        !             7:  #define PyLong_FromPid PyInt_FromLong
        !             8:  #define PyLong_AsPid PyInt_AsLong
        !             9: +#elif SIZEOF_PID_T == SIZEOF_SHORT
        !            10: +#define PARSE_PID "i"
        !            11: +#define PyLong_FromPid PyInt_FromLong
        !            12: +#define PyLong_AsPid PyInt_AsLong
        !            13:  #elif SIZEOF_PID_T == SIZEOF_LONG
        !            14:  #define PARSE_PID "l"
        !            15:  #define PyLong_FromPid PyInt_FromLong

CVSweb <webmaster@jp.NetBSD.org>