libodbccp32.a
Fifer, Eric
EFifer@sanwaint.com
Thu Aug 10 07:06:00 GMT 2000
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DBD-ODBC.patch
Type: text/x-diff
Size: 4510 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20000810/185caca4/attachment.bin>
More information about the Cygwin
mailing list