Index: configure.in =================================================================== RCS file: /cvsroot/pgsql-server/configure.in,v retrieving revision 1.242 diff -c -c -r1.242 configure.in *** configure.in 6 Apr 2003 22:45:22 -0000 1.242 --- configure.in 20 Apr 2003 02:11:49 -0000 *************** *** 856,863 **** esac # Solaris has a very slow qsort in certain cases, so we replace it. ! case $host_os in ! solaris*) AC_LIBOBJ(qsort) ;; esac # On HPUX 9, rint() is not in regular libm.a but in /lib/pa1.1/libm.a; --- 856,868 ---- esac # Solaris has a very slow qsort in certain cases, so we replace it. ! case $host_os in solaris*) ! AC_LIBOBJ(qsort) ;; ! esac ! ! # Win32 can't to rename or unlink on an open file ! case $host_os in win32*) ! AC_LIBOBJ(dirmod) ;; esac # On HPUX 9, rint() is not in regular libm.a but in /lib/pa1.1/libm.a; Index: src/include/pg_config_manual.h =================================================================== RCS file: /cvsroot/pgsql-server/src/include/pg_config_manual.h,v retrieving revision 1.2 diff -c -c -r1.2 pg_config_manual.h *** src/include/pg_config_manual.h 18 Apr 2003 01:03:42 -0000 1.2 --- src/include/pg_config_manual.h 20 Apr 2003 02:12:07 -0000 *************** *** 151,156 **** --- 151,167 ---- #endif /* + * Win32 doesn't have reliable rename/unlink during concurrent access + */ + #ifdef WIN32 + int pgrename(const char *from, const char *to); + int pgunlink(const char *path); + #define rename(path) pgrename(path) + #define unlink(from, to) pgunlink(from, to) + #endif + + + /* * This is the default directory in which AF_UNIX socket files are * placed. Caution: changing this risks breaking your existing client * applications, which are likely to continue to look in the old