Browse Source

win32, win32, lose32

master
Marc Alexander Lehmann 14 years ago
parent
commit
87f398a731
  1. 3
      ev.c
  2. 4
      ev.h

3
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

4
ev.h

@ -213,7 +213,11 @@ typedef struct ev_child
#if EV_STAT_ENABLE
/* st_nlink = 0 means missing file or other error */
#ifdef _WIN32
typedef struct _stati64 ev_statdata;
#else
typedef struct stat ev_statdata;
#endif
/* invoked each time the stat data changes for a given path */
/* revent EV_STAT */

Loading…
Cancel
Save