… | |
… | |
100 | #ifdef _WIN32 |
100 | #ifdef _WIN32 |
101 | |
101 | |
102 | #undef PAGESIZE |
102 | #undef PAGESIZE |
103 | #define PAGESIZE 4096 /* GetSystemInfo? */ |
103 | #define PAGESIZE 4096 /* GetSystemInfo? */ |
104 | |
104 | |
105 | #define O_CLOEXEC 0 |
|
|
106 | |
|
|
107 | /* TODO: look at how perl does stat (non-sloppy), unlink (ro-files), utime, link */ |
105 | /* TODO: look at how perl does stat (non-sloppy), unlink (ro-files), utime, link */ |
108 | |
106 | |
109 | #ifdef EIO_STRUCT_STATI64 |
107 | #ifdef EIO_STRUCT_STATI64 |
110 | /* look at perl's non-sloppy stat */ |
108 | /* look at perl's non-sloppy stat */ |
111 | #define stat(path,buf) _stati64 (path,buf) |
109 | #define stat(path,buf) _stati64 (path,buf) |
… | |
… | |
325 | #endif |
323 | #endif |
326 | |
324 | |
327 | /* used for readlink etc. */ |
325 | /* used for readlink etc. */ |
328 | #ifndef PATH_MAX |
326 | #ifndef PATH_MAX |
329 | # define PATH_MAX 0 |
327 | # define PATH_MAX 0 |
|
|
328 | #endif |
|
|
329 | |
|
|
330 | #ifndef O_CLOEXEC |
|
|
331 | #define O_CLOEXEC 0 |
330 | #endif |
332 | #endif |
331 | |
333 | |
332 | #ifndef EIO_PATH_MIN |
334 | #ifndef EIO_PATH_MIN |
333 | # define EIO_PATH_MIN 8160 |
335 | # define EIO_PATH_MIN 8160 |
334 | #endif |
336 | #endif |