]>
Commit | Line | Data |
---|---|---|
f79026b4 VM |
1 | #ifndef INCLUDE_posix__w32_h__ |
2 | #define INCLUDE_posix__w32_h__ | |
3 | ||
4 | #include "common.h" | |
5 | ||
6 | GIT_INLINE(int) p_link(const char *GIT_UNUSED(old), const char *GIT_UNUSED(new)) | |
7 | { | |
8 | GIT_UNUSED_ARG(old) | |
9 | GIT_UNUSED_ARG(new) | |
10 | errno = ENOSYS; | |
11 | return -1; | |
12 | } | |
13 | ||
14 | GIT_INLINE(int) p_mkdir(const char *path, int GIT_UNUSED(mode)) | |
15 | { | |
16 | GIT_UNUSED_ARG(mode) | |
17 | return mkdir(path); | |
18 | } | |
19 | ||
20 | extern int p_unlink(const char *path); | |
21 | extern int p_lstat(const char *file_name, struct stat *buf); | |
22 | extern int p_readlink(const char *link, char *target, size_t target_len); | |
23 | extern int p_hide_directory__w32(const char *path); | |
24 | ||
25 | #endif |