summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ev.c b/ev.c
index 18dd2f5..f495041 100644
--- a/ev.c
+++ b/ev.c
@@ -2571,6 +2571,12 @@ infy_fork (EV_P)
#endif
+#ifdef _WIN32
+# define EV_LSTAT(p,b) _stati64 (p, b)
+#else
+# define EV_LSTAT(p,b) lstat (p, b)
+#endif
+
void
ev_stat_stat (EV_P_ ev_stat *w)
{