summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ev.c b/ev.c
index 810c10a..40e2292 100644
--- a/ev.c
+++ b/ev.c
@@ -1634,7 +1634,8 @@ ev_child_stop (EV_P_ ev_child *w)
#if EV_STAT_ENABLE
# ifdef _WIN32
-# define lstat(a,b) stat(a,b)
+# undef lstat
+# define lstat(a,b) _stati64 (a,b)
# endif
#define DEF_STAT_INTERVAL 5.0074891