Re: Also cannot build the postgresql server under Mingw

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Dann Corbit <DCorbit(at)connx(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Also cannot build the postgresql server under Mingw
Date: 2004-09-01 19:31:02
Message-ID: 41362376.70005@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Dann Corbit wrote:

> Adding this to the c.h file solved most of the problems for the libpq DLL:
>
> #if defined(HAVE_STRINGS_H) && !defined(_MSC_VER)
> #include <strings.h>
> #endif
> ...
> #if defined(WIN32) && defined(_MSC_VER)
> #include <winsock2.h>
> #define snprintf _snprintf
> #endif
> Since I ran configure for MINGW (which has strings.h) it creates a
> header file which is partly invalid for MS VC++

We do not expect configure to create a setup for any use on Windows
other than building under MinGW.

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dann Corbit 2004-09-01 19:36:48 Re: Also cannot build the postgresql server under Mingw using 8.0 beta 2
Previous Message Dann Corbit 2004-09-01 19:19:38 Re: Also cannot build the postgresql server under Mingw using 8.0 beta 2