durusmail: quixote-users: Fix to build _c_htmltext.c on Windows
Fix to build _c_htmltext.c on Windows
2003-01-17
2003-01-17
Fix to build _c_htmltext.c on Windows
Andrew Kuchling
2003-01-17
On Thu, Jan 16, 2003 at 04:22:38PM -0500, Graham Fawcett wrote:
>I was able to compile by changing the "PyObject_HEAD_INIT(&PyType_Type)"
>references in the TypeObject definitions to "PyObject_HEAD_INIT(NULL)".
>The init() code then gets to do its part.
>Would patching the code thusly break support on other platforms?

No, that's the standard way to get modules to compile on Windows, and
various Python modules do that, so it should be fine.  I've applied
your suggested fix to the current SVN trunk, so it'll be in the next
release; thanks!

--amk                                                    (www.amk.ca)
COUNTESS: Grief would have tears, and sorrow bids me speak.
      -- _All's Well That Ends Well_, III, iv

reply