fixed build on python 2.6

This commit is contained in:
Unbit
2013-12-10 12:04:52 +01:00
parent a6e6bff082
commit 82fa510030
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -14,6 +14,10 @@
#define UWSGI_PYTHON_OLD
#endif
#if PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION < 7
#define HAS_NOT_PyMemoryView_FromBuffer
#endif
#if PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION < 7
#define HAS_NOT_PyFrame_GetLineNumber
#endif