Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Originating-IP: [203.102.149.13] Reply-To: corrosion AT connect DOT to From: "Neil Lunn" To: EFifer AT sanwaint DOT com Cc: cygwin AT sourceware DOT cygnus DOT com, dbi-users AT isc DOT 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: X-OriginalArrivalTime: 11 Aug 2000 03:42:25.0159 (UTC) FILETIME=[29E12970:01C00346] >From: "Fifer, Eric" >With the Cygwin Perl port I always find the #define WIN32 >that comes from 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 >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 AT sourceware DOT cygnus DOT com