On Sun, Jun 08, 2014 at 06:04:46PM -0400, Tom Lane wrote:
> Noah Misch writes:
> > Since src/makefiles/Makefile.win32 does not set BUILDING_DLL for src/port,
> > PGDLLIMPORT is set improperly for code to be linked directly into the
> > backend.
> > Makefile.win32 does set BUILDING_DLL for src/com
Noah Misch writes:
> First, when I tried to add an Assert() call to a file in src/port, a MinGW-w64
> build failed like this:
> Creating library file: libpostgres.a
> ../../src/port/libpgport_srv.a(fls_srv.o): In function `fls':
> /home/nm/src/pg/mingw-postgresql/src/port/fls.c:63: undefined refe