mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-15 02:54:29 +08:00
Some Python 3 fixes for _mysql. It ain't fixed but at least it ain't broken yet (for Python <3)
This commit is contained in:
@ -26,6 +26,13 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|||||||
PERFORMANCE OF THIS SOFTWARE.
|
PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if PY_MAJOR_VERSION >= 3
|
||||||
|
#define IS_PY3K
|
||||||
|
#endif
|
||||||
|
#if PY_VERSION_HEX > 0x02060000
|
||||||
|
#include "bytesobject.h"
|
||||||
|
#include "intobject.h"
|
||||||
|
#endif
|
||||||
#include "pymemcompat.h"
|
#include "pymemcompat.h"
|
||||||
#include "structmember.h"
|
#include "structmember.h"
|
||||||
#if defined(MS_WINDOWS)
|
#if defined(MS_WINDOWS)
|
||||||
|
Reference in New Issue
Block a user