Slight compat shim for Python 2.4/2.5

This commit is contained in:
alexhudson
2009-11-24 20:39:44 +00:00
parent 7d920ed592
commit 55de4a31dd
+5
View File
@@ -7,6 +7,11 @@
#include <bongojson.h>
#include <bongocal.h>
// attempt to support python 2.4-2.5
#ifndef Py_ssize_t
#define Py_ssize_t int
#endif
#ifdef __cplusplus
extern "C" {
#endif