Andrew Dunstan <andrew@dunslane.net> writes:
> On REL8_1_STABLE sources commenting out the DLLINIT definition in
> Makefile.cygwin works just fine. Same goes for
> Win32/HEAD/Makefile.win32. I just did complete (unreported) buildfarm
> run with these changes made, so I think ripping that out should work.
OK, I'll do that.
> Meanwhile, I'd like to know how to fix the Cygwin build on HEAD. I
> suspect it was the MSVC "improvements" that did it.
Probably. This is the commit:
2006-06-07 18:24 momjian
* 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/pg_config.h.win32,
src/include/port.h,src/include/libpq/pqcomm.h,
src/include/port/win32.h,src/include/port/win32_msvc/dirent.h,src/include/port/win32_msvc/unistd.h,src/include/port/win32_msvc/utime.h,src/include/port/win32_msvc/sys/file.h,src/include/port/win32_msvc/sys/param.h,src/include/port/win32_msvc/sys/time.h,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, src/port/exec.c,src/port/getaddrinfo.c,
src/port/inet_aton.c,src/port/thread.c,src/port/win32error.c, src/timezone/localtime.c: Prepare code to bebuilt by
MSVC: o remove many WIN32_CLIENT_ONLY defines o add WIN32_ONLY_COMPILER define o add 3rd argument to open()
forportability o add include/port/win32_msvc directory for system includesMagnus Hagander
regards, tom lane