summaryrefslogtreecommitdiff
path: root/bundle/libxml/libxml.h
diff options
context:
space:
mode:
authorSterling Hughes <sterling@php.net>2003-05-06 19:38:49 +0000
committerSterling Hughes <sterling@php.net>2003-05-06 19:38:49 +0000
commita0351b093f43f9c2be5b45d6e08542adb4de419a (patch)
treec40e915b27205178d43cd88ee35cebf3d12e9eb1 /bundle/libxml/libxml.h
parent33a10b342ec8104133699e796fb77e9c55c8eb38 (diff)
downloadphp-git-a0351b093f43f9c2be5b45d6e08542adb4de419a.tar.gz
Bundle libxml and add compatibility layer
Diffstat (limited to 'bundle/libxml/libxml.h')
-rw-r--r--bundle/libxml/libxml.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/bundle/libxml/libxml.h b/bundle/libxml/libxml.h
new file mode 100644
index 0000000000..d34dd10444
--- /dev/null
+++ b/bundle/libxml/libxml.h
@@ -0,0 +1,28 @@
+/*
+ * libxml.h: internal header only used during the compilation of libxml
+ *
+ * See COPYRIGHT for the status of this software
+ *
+ * Author: breese@users.sourceforge.net
+ */
+
+#ifndef __XML_LIBXML_H__
+#define __XML_LIBXML_H__
+
+#include "php_config.h"
+#include <libxml/xmlversion.h>
+
+#ifndef WITH_TRIO
+#include <stdio.h>
+#else
+/**
+ * TRIO_REPLACE_STDIO:
+ *
+ * This macro is defined if teh trio string formatting functions are to
+ * be used instead of the default stdio ones.
+ */
+#define TRIO_REPLACE_STDIO
+#include "trio.h"
+#endif
+
+#endif /* ! __XML_LIBXML_H__ */