]> git.pld-linux.org Git - packages/apache-mod_python.git/blame - apache-mod_python-LONG.patch
- Python 2.3 renamed LONG_LONG to PY_LONG_LONG and because of this
[packages/apache-mod_python.git] / apache-mod_python-LONG.patch
CommitLineData
4f0ad0ef 1--- mod_python-3.0.3/src/include/mod_python.h~ 2003-09-14 20:11:08.000000000 +0000
2+++ mod_python-3.0.3/src/include/mod_python.h 2003-09-14 20:12:54.000000000 +0000
3@@ -138,6 +138,11 @@
4 #define SILENT 0
5 #define NOTSILENT 1
6
7+/* python 2.3 no longer defines LONG_LONG, it defines PY_LONG_LONG */
8+#ifndef LONG_LONG
9+#define LONG_LONG PY_LONG_LONG
10+#endif
11+
12 /* structure to hold interpreter data */
13 typedef struct {
14 PyInterpreterState *istate;
This page took 0.029659 seconds and 4 git commands to generate.