diff options
Diffstat (limited to 'src/include/port.h')
-rw-r--r-- | src/include/port.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/port.h b/src/include/port.h index 2f5abdd3348..7ad464c07dc 100644 --- a/src/include/port.h +++ b/src/include/port.h @@ -284,8 +284,11 @@ extern int pgunlink(const char *path); */ #if defined(WIN32) && !defined(__CYGWIN__) extern int pgsymlink(const char *oldpath, const char *newpath); +extern int pgreadlink(const char *path, char *buf, size_t size); +extern bool pgwin32_is_junction(char *path); #define symlink(oldpath, newpath) pgsymlink(oldpath, newpath) +#define readlink(path, buf, size) pgreadlink(path, buf, size) #endif extern bool rmtree(const char *path, bool rmtopdir); |