Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
X-Originating-IP: [203.102.149.13]
Reply-To: corrosion@connect.to
From: "Neil Lunn" <corrosion99@hotmail.com>
To: EFifer@sanwaint.com
Cc: cygwin@sourceware.cygnus.com, dbi-users@isc.org
Subject: [Patch] DBD::ODBC - Cygwin
Date: Fri, 11 Aug 2000 13:42:24 EST
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <F773KxtKUVOwJT2cMGe00004317@hotmail.com>
X-OriginalArrivalTime: 11 Aug 2000 03:42:25.0159 (UTC) FILETIME=[29E12970:01C00346]

>From: "Fifer, Eric" <EFifer@sanwaint.com>

>With the Cygwin Perl port I always find the #define WIN32
>that comes from <windows.h> is always getting in the way
>when porting/building Win32ish CPAN modules like DBD::ODBC
>or Win32::OLE.

>Anyway, a #undef WIN32 shortly after the #include <windows.h>
>usually does the trick.

Eric,

Thanks for posting this. I was about to do the same, funny I only differed 
by one line in the end.

if (!$odbchome && $ENV{WINDIR} && $^O eq 'cygwin') {

I assume this will be okay in future.
For prosperity I'll put a link to the archive in this message under the new 
title.

http://sources.redhat.com/ml/cygwin/2000-08/msg00464.html

You wouldn't happen to have a short list of Win32'ish problems and patches.

If these are already in list archives it's okay to tell me to go suck eggs, 
'cos I'll admit I haven't looked yet.

Neil

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

