freebsd-ports/www/mod_python3/files/patch-src_include_mod_python.h.in
Hye-Shik Chang 7da97ced51 - Update to 3.2.8 [1]
- 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]
2006-03-24 11:48:41 +00:00

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;