… | |
… | |
62 | #undef dup |
62 | #undef dup |
63 | #undef dup2 |
63 | #undef dup2 |
64 | #undef abort |
64 | #undef abort |
65 | #undef pipe |
65 | #undef pipe |
66 | |
66 | |
|
|
67 | #define EIO_STRUCT_STAT struct _stati64 |
|
|
68 | #define EIO_STRUCT_STATI64 |
|
|
69 | |
67 | #else |
70 | #else |
68 | |
71 | |
69 | #include <sys/time.h> |
72 | #include <sys/time.h> |
70 | #include <sys/select.h> |
73 | #include <sys/select.h> |
71 | #include <unistd.h> |
74 | #include <unistd.h> |
72 | #include <utime.h> |
75 | #include <utime.h> |
73 | #include <signal.h> |
76 | #include <signal.h> |
74 | |
77 | |
75 | #endif |
|
|
76 | |
|
|
77 | #define EIO_STRUCT_STAT Stat_t |
78 | #define EIO_STRUCT_STAT Stat_t |
|
|
79 | |
|
|
80 | #endif |
78 | |
81 | |
79 | /* use NV for 32 bit perls as it allows larger offsets */ |
82 | /* use NV for 32 bit perls as it allows larger offsets */ |
80 | #if IVSIZE >= 8 |
83 | #if IVSIZE >= 8 |
81 | # define VAL64 IV |
84 | # define VAL64 IV |
82 | # define SvVAL64 SvIV |
85 | # define SvVAL64 SvIV |