[Python-modules-commits] [pycurl] 14/140: changes in pycurl_7.13.2-1.diff.gz
Barry Warsaw
barry at moszumanska.debian.org
Wed Oct 1 21:45:01 UTC 2014
This is an automated email from the git hooks/post-receive script.
barry pushed a commit to branch master
in repository pycurl.
commit ebb0bf3156229ae3856efb3c22e224054476e92f
Author: Domenico Andreoli <cavok at debian.org>
Date: Fri Apr 8 18:13:35 2005 +0200
changes in pycurl_7.13.2-1.diff.gz
---
src/pycurl.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/src/pycurl.c b/src/pycurl.c
index 03566b6..ca49282 100644
--- a/src/pycurl.c
+++ b/src/pycurl.c
@@ -1177,6 +1177,11 @@ do_curl_setopt(CurlObject *self, PyObject *args)
return Py_None;
}
+#ifndef PY_LONG_LONG
+#define PY_LONG_LONG long long
+#define PY_LONG_LONG_CAVOK_HACK
+#endif
+
/* Handle the case of long arguments (used by *_LARGE options) */
if (PyLong_Check(obj)) {
PY_LONG_LONG d = PyLong_AsLongLong(obj);
@@ -1198,6 +1203,11 @@ do_curl_setopt(CurlObject *self, PyObject *args)
return Py_None;
}
+#ifdef PY_LONG_LONG_CAVOK_HACK
+#undef PY_LONG_LONG
+#undef PY_LONG_LONG_CAVOK_HACK
+#endif
+
#undef IS_LONG_OPTION
#undef IS_OFF_T_OPTION
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pycurl.git
More information about the Python-modules-commits
mailing list