[CalendarServer-changes] [1320]
PyOpenDirectory/trunk/src/PythonWrapper.cpp
source_changes at macosforge.org
source_changes at macosforge.org
Mon Mar 5 17:30:54 PST 2007
Revision: 1320
http://trac.macosforge.org/projects/calendarserver/changeset/1320
Author: wsanchez at apple.com
Date: 2007-03-05 17:30:53 -0800 (Mon, 05 Mar 2007)
Log Message:
-----------
Better version check
Modified Paths:
--------------
PyOpenDirectory/trunk/src/PythonWrapper.cpp
Modified: PyOpenDirectory/trunk/src/PythonWrapper.cpp
===================================================================
--- PyOpenDirectory/trunk/src/PythonWrapper.cpp 2007-03-06 01:29:15 UTC (rev 1319)
+++ PyOpenDirectory/trunk/src/PythonWrapper.cpp 2007-03-06 01:30:53 UTC (rev 1320)
@@ -32,10 +32,7 @@
#define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None
#endif
-#if PY_MAJOR_VERSION < 2
-#error Python major version must be >= 2
-#endif
-#if PY_MINOR_VERSION < 5
+#if PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION < 5
typedef int Py_ssize_t;
#endif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20070305/3348450f/attachment.html
More information about the calendarserver-changes
mailing list