Prepare code to be built by MSVC:
authorBruce Momjian <[email protected]>
Wed, 7 Jun 2006 22:24:46 +0000 (22:24 +0000)
committerBruce Momjian <[email protected]>
Wed, 7 Jun 2006 22:24:46 +0000 (22:24 +0000)
commit399a36a75d2d06bfdb91402713d408271b4833ba
treeb8391f6bda4680d37ac430c3270c67bde979d842
parent877e296306a2017a18fc7086e9742c8ee3e0a665
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
49 files changed:
configure
configure.in
src/backend/libpq/ip.c
src/backend/port/dynloader/win32.c
src/backend/port/win32/Makefile
src/backend/postmaster/postmaster.c
src/backend/postmaster/syslogger.c
src/backend/utils/adt/float.c
src/backend/utils/fmgr/dfmgr.c
src/backend/utils/mb/encnames.c
src/bin/initdb/initdb.c
src/bin/pg_controldata/pg_controldata.c
src/bin/pg_ctl/pg_ctl.c
src/bin/pg_dump/pg_backup_archiver.c
src/bin/pg_dump/pg_backup_db.c
src/bin/pg_dump/pg_backup_null.c
src/bin/pg_dump/pg_backup_tar.c
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dumpall.c
src/bin/pg_dump/pg_restore.c
src/bin/pg_resetxlog/pg_resetxlog.c
src/bin/psql/command.c
src/bin/psql/copy.c
src/bin/psql/print.c
src/bin/psql/win32.mak
src/include/c.h
src/include/getaddrinfo.h
src/include/libpq/pqcomm.h
src/include/pg_config.h.win32
src/include/port.h
src/include/port/win32.h
src/include/port/win32_msvc/dirent.h [new file with mode: 0644]
src/include/port/win32_msvc/sys/file.h [new file with mode: 0644]
src/include/port/win32_msvc/sys/param.h [new file with mode: 0644]
src/include/port/win32_msvc/sys/time.h [new file with mode: 0644]
src/include/port/win32_msvc/unistd.h [new file with mode: 0644]
src/include/port/win32_msvc/utime.h [new file with mode: 0644]
src/include/storage/s_lock.h
src/interfaces/libpq/fe-connect.c
src/interfaces/libpq/fe-misc.c
src/interfaces/libpq/win32.c
src/interfaces/libpq/win32.mak
src/port/dirent.c [new file with mode: 0644]
src/port/exec.c
src/port/getaddrinfo.c
src/port/inet_aton.c
src/port/thread.c
src/port/win32error.c [new file with mode: 0644]
src/timezone/localtime.c