Re: ODBC changes - Mailing list pgsql-odbc

From Hiroshi Inoue
Subject Re: ODBC changes
Date
Msg-id 3C035796.D774C50A@tpf.co.jp
Whole thread Raw
In response to ODBC changes  (Hiroshi Inoue <Inoue@tpf.co.jp>)
List pgsql-odbc
Dave Page wrote:
>
> > -----Original Message-----
> > From: Bruce Momjian [mailto:pgman@candle.pha.pa.us]
> > Sent: 27 November 2001 08:45
> > To: Dave Page
> > Cc: 'Hiroshi Inoue'; pgsql-odbc@postgresql.org
> > Subject: Re: [ODBC] ODBC changes
> >
> >
> > > I just tried to build this for distribution - any idea what I'm
> > > missing - presumably I need to add a reference to an MD5
> > library (if
> > > there is one in
> > > VC++)?
> >
> > This is bad.  There should be an md5.c reference in whatever
> > build file you are using.  If it isn't there, it is a bug.
>
> Sorry Bruce (& Hiroshi). I build the distributions using the VC++ IDE, not
> the makefile - I didn't notice the addition of md5.c.
>
> On that note, isn't the fact that md5.h is only included if MD5_ODBC is
> defined a bug seeing as md5.h is *where* it's defined? (if you see what I
> mean!). I got it to compile by defining MD5_ODBC in the project settings but
> that does add a couple of ugly warnings about macro redefinitions.

Please use win_md5.c(obj) instead of md5.c(obj).
It contains needed #define-s to compile md5.c
for psqlodbc.

regards,
Hiroshi Inoue

pgsql-odbc by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: ODBC changes
Next
From: Dave Page
Date:
Subject: Re: ODBC changes