<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 11: Patch to build with Sybase 12.5 on WinXP/mingw</title><link href="https://sourceforge.net/p/python-sybase/patches/11/" rel="alternate"/><link href="https://sourceforge.net/p/python-sybase/patches/11/feed.atom" rel="self"/><id>https://sourceforge.net/p/python-sybase/patches/11/</id><updated>2010-12-23T06:27:05Z</updated><subtitle>Recent changes to 11: Patch to build with Sybase 12.5 on WinXP/mingw</subtitle><entry><title>Patch to build with Sybase 12.5 on WinXP/mingw</title><link href="https://sourceforge.net/p/python-sybase/patches/11/" rel="alternate"/><published>2010-12-23T06:27:05Z</published><updated>2010-12-23T06:27:05Z</updated><author><name>Gregory Bond</name><uri>https://sourceforge.net/u/gnbond/</uri></author><id>https://sourceforge.netd455cc65be8daca1424e8ef221f1251aa62bda77</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Attempt to build using the mingw compiler on Windows XP using the real Sybase libs fails at link stage.  Root cause is that the nasty tangle of #ifs in the Sybase csconfig.h header doesn't properly set CS_PUBLIC for this compiler, so header doesn't have the correct __stdcall attributes, causing the linker to fail (.o file has "blk_alloc", .lib has "_blk_alloc").&lt;/p&gt;
&lt;p&gt;Attached patch fixes this.... If I understand things, this should also fix similar issues with cygwin and other non-VisualStudio compilers, and should not hurt for VisualStudio, but I have no way of testing this claim.&lt;/p&gt;
&lt;p&gt;Patch should not affect FreeTDS users.&lt;/p&gt;
&lt;p&gt;I also have no way of knowing inf this is a problem or of testing this patch with other Sybase versions.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>