This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author steve.dower
Recipients benjamin.peterson, hynek, josh.r, pitrou, steve.dower, stutzbach, tim.golden, zach.ware
Date 2015-01-03.01:51:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1420249889.81.0.232218210125.issue23152@psf.upfronthosting.co.za>
In-reply-to
Content
Looks like the easiest fix here is to remove the HAVE_SYS_STAT_H definition and replace it with the include directly:

/* Define to 1 if you have the <sys/stat.h> header file.  */
/* #define HAVE_SYS_STAT_H 1 */
#ifndef MS_WINCE
/* Rather than define HAVE_SYS_STAT_H, we include it now and
   rename two of the functions. The rename must be after the
   header is included. */
#include <sys/stat.h>
#define fstat _fstati64
#define stat _stati64
#endif


Does anyone know whether this sort of thing will cause problems with the build? It seems fine to me, but someone with more experience may know better.
History
Date User Action Args
2015-01-03 01:51:29steve.dowersetrecipients: + steve.dower, pitrou, tim.golden, benjamin.peterson, stutzbach, hynek, zach.ware, josh.r
2015-01-03 01:51:29steve.dowersetmessageid: <1420249889.81.0.232218210125.issue23152@psf.upfronthosting.co.za>
2015-01-03 01:51:29steve.dowerlinkissue23152 messages
2015-01-03 01:51:28steve.dowercreate