[pywin32-bugs] [ pywin32-Patches-956093 ] minimal C portability patch for odbc.cpp
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2004-05-18 17:37:55
|
Patches item #956093, was opened at 2004-05-18 17:37 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551956&aid=956093&group_id=78018 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Jon Willeke (willeke) Assigned to: Nobody/Anonymous (nobody) Summary: minimal C portability patch for odbc.cpp Initial Comment: This is the second of three patches addressing bug #955432. It is a minimal patch to allow odbc.cpp to be compiled by GNU gcc on Linux (in which case it should be renamed to odbc.c). The code remains C++ compatible. The first change defines bool, true, and false in a block conditioned on _cplusplus. The second change moves a variable definition out of a for-loop initializer. If you apply this patch after the previous patch, this change won't apply cleanly. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551956&aid=956093&group_id=78018 |