summaryrefslogtreecommitdiff
path: root/main/php_compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/php_compat.h')
-rw-r--r--main/php_compat.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/php_compat.h b/main/php_compat.h
index bd65b41f36..f934b07925 100644
--- a/main/php_compat.h
+++ b/main/php_compat.h
@@ -94,6 +94,16 @@
#define XML_UseParserAsHandlerArg php_XML_UseParserAsHandlerArg
#define XmlUtf16Encode php_XmlUtf16Encode
#define XmlUtf8Encode php_XmlUtf8Encode
+
+/* Define to specify how much context to retain around the current parse
+ point. */
+#define XML_CONTEXT_BYTES 1024
+
+/* Define to make parameter entity parsing functionality available. */
+#define XML_DTD 1
+
+/* Define to make XML Namespaces functionality available. */
+#define XML_NS 1
#endif
#endif