pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Julia A.Case <julie@hub.org>
To: Byron Nikolaidis <byronn@insightdist.com>
To: Julia A.Case <julie@postgreSQL.org>
To: pgsql-interfaces <pgsql-interfaces@postgreSQL.org>
To: Marc G. Fournier <scrappy@hub.org>
To: pgsql-questions@postgreSQL.org
Subject: Small patch to compile clean against VC++ 5.0
Date: Wed, 15 Apr 1998 21:07:27 +0000
Message-ID: <19980415210727.17671@MageNet.com> (raw)
In-Reply-To: <35352999.3FD27EDE@insightdist.com>
References: <3534EF3C.51C85C7@insightdist.com>
	<19980415131528.32791@MageNet.com>
	<3535075F.8A7A996@insightdist.com>
	<35352999.3FD27EDE@insightdist.com>

inline patch 1: new/connection.c, new/environ.h, new/misc.h and 1 more (+4/-2 lines) download inline-1.patchdiff -uwd old/connection.c new/connection.c --- old/connection.c Wed Apr 15 16:42:00 1998 +++ new/connection.c Wed Apr 15 21:56:01 1998 @@ -1150,7 +1150,7 @@ return; } - result = SQLGetData(hstmt, 1, SQL_C_SLONG, &self->lobj_type, sizeof(self->lobj_type), NULL); + result = SQLGetData(hstmt, 1, SQL_C_LONG, &self->lobj_type, sizeof(self->lobj_type), NULL); if((result != SQL_SUCCESS) && (result != SQL_SUCCESS_WITH_INFO)) { SQLFreeStmt(hstmt, SQL_DROP); return; diff -uwd old/environ.h new/environ.h --- old/environ.h Fri Mar 27 11:06:06 1998 +++ new/environ.h Wed Apr 15 21:56:02 1998 @@ -13,6 +13,7 @@ #include "psqlodbc.h" #include <windows.h> #include <sql.h> +#include <sqlext.h> #define ENV_ALLOC_ERROR 1 diff -uwd old/misc.h new/misc.h --- old/misc.h Wed Apr 15 12:29:22 1998 +++ new/misc.h Wed Apr 15 22:00:26 1998 @@ -26,7 +26,7 @@ 'CommLog' flag in the ODBCINST.INI portion of the registry (see above), which is manipulated on the setup/connection dialog boxes. */ -#define Q_LOG +// #define Q_LOG #ifdef MY_LOG diff -uwd old/options.c new/options.c --- old/options.c Tue Mar 24 13:36:30 1998 +++ new/options.c Wed Apr 15 21:56:02 1998 @@ -16,6 +16,7 @@ #include "psqlodbc.h" #include <windows.h> #include <sql.h> +#include <sqlext.h> #include "environ.h" #include "connection.h" #include "statement.h"
-- [ Julia Anne Case ] [ Ships are safe inside the harbor, ] [Programmer at large] [ but is that what ships are really for. ] [ Admining Linux ] [ To thine own self be true. ] [ Windows/WindowsNT ] [ Fair is where you take your cows to be judged. ]

view thread (2+ messages)  latest in thread

Message-ID: <19980415210727.17671@MageNet.com>
Permalink:  ../19980415210727.17671@MageNet.com/
Also on:    postgresql.org/message-id/19980415210727.17671@MageNet.com

 ·  · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: julie@hub.org, byronn@insightdist.com, julie@postgreSQL.org, scrappy@hub.org, pgsql-questions@postgreSQL.org
  Subject: Re: Small patch to compile clean against VC++ 5.0
  In-Reply-To: <19980415210727.17671@MageNet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox