summaryrefslogtreecommitdiff
path: root/compat/cygwin.h
diff options
context:
space:
mode:
Diffstat (limited to 'compat/cygwin.h')
-rw-r--r--compat/cygwin.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/compat/cygwin.h b/compat/cygwin.h
deleted file mode 100644
index a3229f5..0000000
--- a/compat/cygwin.h
+++ /dev/null
@@ -1,9 +0,0 @@
-#include <sys/types.h>
-#include <sys/stat.h>
-
-typedef int (*stat_fn_t)(const char*, struct stat*);
-extern stat_fn_t cygwin_stat_fn;
-extern stat_fn_t cygwin_lstat_fn;
-
-#define stat(path, buf) (*cygwin_stat_fn)(path, buf)
-#define lstat(path, buf) (*cygwin_lstat_fn)(path, buf)