[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-07-13 05:01:59
|
Patches item #956093, was opened at 2004-05-19 03:37 Message generated for change (Settings changed) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551956&aid=956093&group_id=78018 Category: None Group: None >Status: Closed >Resolution: Fixed 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. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2004-07-13 15:01 Message: Logged In: YES user_id=14198 Thanks! Checking in odbc.cpp; new revision: 1.12; previous revision: 1.11 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551956&aid=956093&group_id=78018 |