This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
RE: libodbccp32.a
- To: cygwin at sourceware dot cygnus dot com
- Subject: RE: libodbccp32.a
- From: "Fifer, Eric" <EFifer at sanwaint dot com>
- Date: Thu, 10 Aug 2000 15:05:39 +0100
- Cc: "'dbi-users at fugue dot com'" <dbi-users at fugue dot com>, "'jurlwin at bellatlantic dot net'" <jurlwin at bellatlantic dot net>
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.
WIN32 is used by Perl for the native Win32 port, and
affects a lot of things, including the failure that
occurs with #include "win32.h".
Anyway, a #undef WIN32 shortly after the #include <windows.h>
usually does the trick.
In the case of DBD::ODBC the attached patch cleans up some
typos, removes the unnecessary -lodbccp32, adds #undef WIN32
and removes some obsolete stuff (including the README.cygwin).
It now builds cleanly and passes all tests.
Regards,
Eric Fifer
DBD-ODBC.patch
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com