Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Mon, 8 Dec 2003 12:59:06 +0100
From: "Gerrit P. Haase" <freeweb@nyckelpiga.de>
Reply-To: "Gerrit P. Haase" <freeweb@nyckelpiga.de>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <271586644554.20031208125906@familiehaase.de>
To: "Rafael Kitover" <rkitover@hotmail.com>
CC: "'Cygwin List'" <cygwin@cygwin.com>
Subject: [PATHC] for w32api/sql.h (was: Re: <w32api/sql.h> broken?)
In-Reply-To: <Law9-OE2122ZhCl8aii000026b5@hotmail.com>
References: <Law9-OE2122ZhCl8aii000026b5@hotmail.com>
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit

Rafael wrote:

> I just tried compiling:

> #include <windows.h>
> #include <sql.h>

> int main() { return 0; }

> with: gcc -mno-cygwin

> and it worked fine. So it's a conflict with the cygwin headers
> sqltypes.h somewhere, I'll try to figure it out.


Just received this patch for sql.h:

PC09:/usr/include/w32api 514 $ diff -pu sql.h.org sql.h
--- sql.h.org   2003-11-21 16:56:52.621347200 +0100
+++ sql.h       2003-11-21 16:54:36.876155200 +0100
@@ -11,6 +11,7 @@ extern "C" {
 #define ODBCVER 0x0351
 #endif
 #include <sqltypes.h>
+#include <w32api/sqltypes.h>
 #define SQL_ACCESSIBLE_PROCEDURES 20
 #define SQL_ACCESSIBLE_TABLES 19
 #define SQL_ALL_TYPES 0
PC09:/usr/include/w32api 515 $


-- 
=^..^=                                     http://nyckelpiga.de/donate.html


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

