updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / wikipediadumpreader / python26.patch
blob02d61e3f1df1b835f1e82d6b69eb9f66411da5da
1 diff --git a/wikipediaDumpReader-0.2.9/src/bz2module.c b/wikipediaDumpReader-0.2.9/src/bz2module.c
2 index 90a0bbb..41d25ea 100644
3 --- a/wikipediaDumpReader-0.2.9/src/bz2module.c
4 +++ b/wikipediaDumpReader-0.2.9/src/bz2module.c
5 @@ -12,15 +12,6 @@ Copyright (c) 2002 Python Software Foundation; All Rights Reserved
6 #include "bzlib.h"
7 #include "structmember.h"
9 -/* Py_ssize_t is a signed integral type such that sizeof(Py_ssize_t) ==
10 - * sizeof(size_t). C99 doesn't define such a thing directly (size_t is an
11 - * unsigned integral type). See PEP 353 for details.
12 - */
13 -#ifndef Py_ssize_t
14 -// on Python 2.4, not 2.5
15 -typedef ssize_t Py_ssize_t;
16 -#endif
18 #ifdef WITH_THREAD
19 #include "pythread.h"
20 #endif