--- IO-AIO/AIO.xs 2011/12/30 07:40:54 1.207 +++ IO-AIO/AIO.xs 2012/01/07 18:42:43 1.208 @@ -64,6 +64,9 @@ #undef abort #undef pipe + #define EIO_STRUCT_STAT struct _stati64 + #define EIO_STRUCT_STATI64 + #else #include @@ -72,9 +75,9 @@ #include #include -#endif + #define EIO_STRUCT_STAT Stat_t -#define EIO_STRUCT_STAT Stat_t +#endif /* use NV for 32 bit perls as it allows larger offsets */ #if IVSIZE >= 8