forked from Lainports/freebsd-ports
- Add a workaround to build on Apache 2.2 [2] Requested by: Tim Diggins <tim@soda.co.uk> [1] Submitted by: Peter Czanik <pczanik@fang.fa.gau.hu> [2]
13 lines
372 B
C
13 lines
372 B
C
--- src/include/mod_python.h.in.orig Fri Mar 24 20:30:57 2006
|
|
+++ src/include/mod_python.h.in Fri Mar 24 20:31:35 2006
|
|
@@ -117,6 +117,10 @@
|
|
#define LONG_LONG PY_LONG_LONG
|
|
#endif
|
|
|
|
+#ifndef APR_STATUS_IS_SUCCESS
|
|
+#define APR_STATUS_IS_SUCCESS(s) ((s) == APR_SUCCESS )
|
|
+#endif
|
|
+
|
|
/* structure to hold interpreter data */
|
|
typedef struct {
|
|
PyInterpreterState *istate;
|