What version of the product are you using? On what operating system?
3.0.6
RHEL 5
Please provide any additional information below.
pyodbc 3.0.6 won't compile with Python 2.4, even though the README states that it should.
The attached patch fixes the problem.
- PyNumber_AsSsize_t isn't defined on Python 2.4.
- docstrings should be static char* instead of static const char*
- uintptr_t, which is used for SQL_AUTOCOMMIT_ON / OFF and SQL_NOSCAN_ON / OFF
needs stdint.h
I have used SQLUINTEGER instead.