diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/port.h | 2 | ||||
-rw-r--r-- | src/include/storage/copydir.h | 18 |
2 files changed, 18 insertions, 2 deletions
diff --git a/src/include/port.h b/src/include/port.h index f4aa69c8f6c..204876888ac 100644 --- a/src/include/port.h +++ b/src/include/port.h @@ -288,8 +288,6 @@ extern int pgsymlink(const char *oldpath, const char *newpath); #define symlink(oldpath, newpath) pgsymlink(oldpath, newpath) #endif -extern void copydir(char *fromdir, char *todir, bool recurse); - extern bool rmtree(const char *path, bool rmtopdir); /* diff --git a/src/include/storage/copydir.h b/src/include/storage/copydir.h new file mode 100644 index 00000000000..194d98ee076 --- /dev/null +++ b/src/include/storage/copydir.h @@ -0,0 +1,18 @@ +/*------------------------------------------------------------------------- + * + * port.h + * Header for src/port/ compatibility functions. + * + * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group + * Portions Copyright (c) 1994, Regents of the University of California + * + * src/include/port.h + * + *------------------------------------------------------------------------- + */ +#ifndef COPYDIR_H +#define COPYDIR_H + +extern void copydir(char *fromdir, char *todir, bool recurse); + +#endif /* COPYDIR_H */ |