repo.or.cz
/
git
/
mjg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'kf/post-receive-sample-hook' into maint
[git/mjg.git]
/
compat
/
cygwin.h
blob
a3229f5b4fbb819ba1beabcf560725e80ad51bb4
1
#include <sys/types.h>
2
#include <sys/stat.h>
3
4
typedef
int
(*
stat_fn_t
)(
const char
*,
struct
stat
*);
5
extern
stat_fn_t cygwin_stat_fn
;
6
extern
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)