summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2006-06-07 22:24:46 +0000
committerBruce Momjian <bruce@momjian.us>2006-06-07 22:24:46 +0000
commit399a36a75d2d06bfdb91402713d408271b4833ba (patch)
treeb8391f6bda4680d37ac430c3270c67bde979d842 /configure
parent877e296306a2017a18fc7086e9742c8ee3e0a665 (diff)
downloadpostgresql-399a36a75d2d06bfdb91402713d408271b4833ba.tar.gz
Prepare code to be built by MSVC:
o remove many WIN32_CLIENT_ONLY defines o add WIN32_ONLY_COMPILER define o add 3rd argument to open() for portability o add include/port/win32_msvc directory for system includes Magnus Hagander
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure b/configure
index c7709d20e5..f7947ebe72 100755
--- a/configure
+++ b/configure
@@ -15064,6 +15064,14 @@ case $LIBOBJS in
*) LIBOBJS="$LIBOBJS rand.$ac_objext" ;;
esac
+case $LIBOBJS in
+ "win32error.$ac_objext" | \
+ *" win32error.$ac_objext" | \
+ "win32error.$ac_objext "* | \
+ *" win32error.$ac_objext "* ) ;;
+ *) LIBOBJS="$LIBOBJS win32error.$ac_objext" ;;
+esac
+
cat >>confdefs.h <<\_ACEOF
#define HAVE_SYMLINK 1