diff options
Diffstat (limited to 'src/include/port.h')
| -rw-r--r-- | src/include/port.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/port.h b/src/include/port.h index 4f52075308a..70f2b5f3fe5 100644 --- a/src/include/port.h +++ b/src/include/port.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/port.h,v 1.22 2004/03/10 21:12:46 momjian Exp $ + * $PostgreSQL: pgsql/src/include/port.h,v 1.23 2004/03/24 03:54:16 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -50,6 +50,11 @@ extern int pgunlink(const char *path); #endif #ifdef WIN32 + +/* open() replacement to allow delete of held files */ +extern int win32_open(const char*,int,...); +#define open(a,b,...) win32_open(a,b,##__VA_ARGS__) + extern int copydir(char *fromdir, char *todir); /* Missing rand functions */ |
