Index: src/include/port.h =================================================================== RCS file: /cvsroot/pgsql/src/include/port.h,v retrieving revision 1.77 diff -c -c -r1.77 port.h *** src/include/port.h 4 Jul 2005 19:54:51 -0000 1.77 --- src/include/port.h 5 Jul 2005 17:08:17 -0000 *************** *** 178,184 **** #define TZNAME_GLOBAL _tzname #endif ! #if defined(WIN32) || defined(__CYGWIN__) /* * Win32 doesn't have reliable rename/unlink during concurrent access, * and we need special code to do symlinks. --- 178,184 ---- #define TZNAME_GLOBAL _tzname #endif ! #if (defined(WIN32) || defined(__CYGWIN__)) && !defined(NO_PGPORT) /* * Win32 doesn't have reliable rename/unlink during concurrent access, * and we need special code to do symlinks. *************** *** 204,214 **** #define symlink(oldpath, newpath) pgsymlink(oldpath, newpath) #endif ! #endif /* defined(WIN32) || defined(__CYGWIN__) */ extern bool rmtree(char *path, bool rmtopdir); ! #if defined(WIN32) && !defined(__CYGWIN__) /* open() replacement to allow delete of held files and passing * of special options. */ --- 204,214 ---- #define symlink(oldpath, newpath) pgsymlink(oldpath, newpath) #endif ! #endif /* defined(WIN32) || defined(__CYGWIN__) && !defined(NO_PGPORT) */ extern bool rmtree(char *path, bool rmtopdir); ! #if defined(WIN32) && !defined(__CYGWIN__) && !defined(NO_PGPORT) /* open() replacement to allow delete of held files and passing * of special options. */