aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2003-09-07 03:43:57 +0000
committerBruce Momjian <bruce@momjian.us>2003-09-07 03:43:57 +0000
commit4b407f6c3cd7584c308fcd75fd8d2a094a4e8dd1 (patch)
treecf14f1a883879e481b944acf5159c54ed3dab9a4 /src/interfaces
parent7703e55c32e82e2485272596ec5ee6ac1695e42d (diff)
downloadpostgresql-4b407f6c3cd7584c308fcd75fd8d2a094a4e8dd1.tar.gz
postgresql-4b407f6c3cd7584c308fcd75fd8d2a094a4e8dd1.zip
Changes for MinGW/WIN32:
o allow configure to see include/port/win32 include files o add matching Win32 accept() prototype o allow pg_id to compile with native Win32 API o fix invalide mbvalidate() function calls (existing bug) o allow /scripts to compile with native Win32 API o add win32.c to Win32 compiles (already in *.mak files)
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/libpq/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/interfaces/libpq/Makefile b/src/interfaces/libpq/Makefile
index cb5d8123f21..1f7fc77fdd3 100644
--- a/src/interfaces/libpq/Makefile
+++ b/src/interfaces/libpq/Makefile
@@ -4,7 +4,7 @@
#
# Copyright (c) 1994, Regents of the University of California
#
-# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.92 2003/08/23 04:21:59 petere Exp $
+# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.93 2003/09/07 03:43:57 momjian Exp $
#
#-------------------------------------------------------------------------
@@ -24,6 +24,9 @@ OBJS= fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o \
fe-protocol2.o fe-protocol3.o pqexpbuffer.o pqsignal.o fe-secure.o \
dllist.o md5.o ip.o wchar.o encnames.o \
$(filter crypt.o getaddrinfo.o inet_aton.o snprintf.o strerror.o path.o thread.o, $(LIBOBJS))
+ifeq ($(PORTNAME), win32)
+OBJS+=win32.o
+endif
# Add libraries that libpq depends (or might depend) on into the