]> git.ipfire.org Git - thirdparty/git.git/blame - compat/cygwin.h
sha1_file.c: move find_cached_object up so sha1_object_info can use it
[thirdparty/git.git] / compat / cygwin.h
CommitLineData
adbc0b6b
DP
1#include <sys/types.h>
2#include <sys/stat.h>
3
4typedef int (*stat_fn_t)(const char*, struct stat*);
5extern stat_fn_t cygwin_stat_fn;
6extern stat_fn_t cygwin_lstat_fn;
7
8#define stat(path, buf) (*cygwin_stat_fn)(path, buf)
9#define lstat(path, buf) (*cygwin_lstat_fn)(path, buf)