Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

windows: use _stati64

  • Loading branch information...
Igor Zinkovsky
Igor Zinkovsky committed Sep 5, 2011
1 parent 991f6ee commit b90459fc8183b94b93e285068762f1497f4d7577
Showing with 3 additions and 3 deletions.
  1. +1 −1 include/uv-private/uv-win.h
  2. +2 −2 src/win/fs.c
@@ -248,7 +248,7 @@ RB_HEAD(uv_timer_tree_s, uv_timer_s);
#define UV_FS_PRIVATE_FIELDS \
int flags; \
int last_error; \
struct _stat stat; \
struct _stati64 stat; \
void* arg0; \
union { \
struct { \
@@ -356,7 +356,7 @@ void fs__readdir(uv_fs_t* req, const char* path, int flags) {
void fs__stat(uv_fs_t* req, const char* path) {
int result;

result = _stat(path, &req->stat);
result = _stati64(path, &req->stat);
if (result == -1) {
req->ptr = NULL;
} else {
@@ -370,7 +370,7 @@ void fs__stat(uv_fs_t* req, const char* path) {
void fs__fstat(uv_fs_t* req, uv_file file) {
int result;

result = _fstat(file, &req->stat);
result = _fstati64(file, &req->stat);
if (result == -1) {
req->ptr = NULL;
} else {

0 comments on commit b90459f

Please sign in to comment.
You can’t perform that action at this time.