Message233341
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. |
|
Date |
User |
Action |
Args |
2015-01-03 01:51:29 | steve.dower | set | recipients:
+ steve.dower, pitrou, tim.golden, benjamin.peterson, stutzbach, hynek, zach.ware, josh.r |
2015-01-03 01:51:29 | steve.dower | set | messageid: <1420249889.81.0.232218210125.issue23152@psf.upfronthosting.co.za> |
2015-01-03 01:51:29 | steve.dower | link | issue23152 messages |
2015-01-03 01:51:28 | steve.dower | create | |
|