diff options
| author | Bruce Momjian <bruce@momjian.us> | 2003-05-15 16:35:30 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2003-05-15 16:35:30 +0000 |
| commit | 12c942383296bd626131241c012c2ab81b081738 (patch) | |
| tree | 7a37bb6990282b36be53fae1bde399d8e603e9f9 /src/makefiles | |
| parent | 2c0556068fc308ed9cce06c85de7e42305d34b86 (diff) | |
| download | postgresql-12c942383296bd626131241c012c2ab81b081738.tar.gz | |
Allow Win32 to compile under MinGW. Major changes are:
Win32 port is now called 'win32' rather than 'win'
add -lwsock32 on Win32
make gethostname() be only used when kerberos4 is enabled
use /port/getopt.c
new /port/opendir.c routines
disable GUC unix_socket_group on Win32
convert some keywords.c symbols to KEYWORD_P to prevent conflict
create new FCNTL_NONBLOCK macro to turn off socket blocking
create new /include/port.h file that has /port prototypes, move
out of c.h
new /include/port/win32_include dir to hold missing include files
work around ERROR being defined in Win32 includes
Diffstat (limited to 'src/makefiles')
| -rw-r--r-- | src/makefiles/Makefile.win32 (renamed from src/makefiles/Makefile.win) | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/makefiles/Makefile.win b/src/makefiles/Makefile.win32 index d16afb1757..0fb52b97fe 100644 --- a/src/makefiles/Makefile.win +++ b/src/makefiles/Makefile.win32 @@ -1,4 +1,8 @@ -# $Header: /cvsroot/pgsql/src/makefiles/Attic/Makefile.win,v 1.19 2003/03/21 17:18:34 petere Exp $ +# $Header: /cvsroot/pgsql/src/makefiles/Makefile.win32,v 1.1 2003/05/15 16:35:30 momjian Exp $ + +# Use replacement include files for those missing on Win32 +override CPPFLAGS+="-I$(top_srcdir)/src/include/port/win32_include" + DLLTOOL= dlltool DLLWRAP= dllwrap BE_DLLLIBS= -L$(top_builddir)/src/backend -lpostgres |
