mirror of
https://github.com/git/git
synced 2024-10-31 08:44:08 +00:00
10 lines
275 B
C
10 lines
275 B
C
|
#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)
|