Commit f93a67e9 authored by Daniel Veillard's avatar Daniel Veillard

tiny fix from Albert Chin portability cleanup for arch needing trio for

* libxml.3: tiny fix from Albert Chin
* runsuite.c runtest.c testapi.c: portability cleanup for arch
  needing trio for *printf
Daniel
parent 19dc961e
Fri Oct 28 18:36:08 CEST 2005 Daniel Veillard <daniel@veillard.com>
* libxml.3: tiny fix from Albert Chin
* runsuite.c runtest.c testapi.c: portability cleanup for arch
needing trio for *printf
Fri Oct 28 12:21:39 EDT 2005 Rob Richards <rrichards@ctindustries.net> Fri Oct 28 12:21:39 EDT 2005 Rob Richards <rrichards@ctindustries.net>
* tree.c: add additional checks to prevent tree corruption. fix problem * tree.c: add additional checks to prevent tree corruption. fix problem
......
...@@ -53,7 +53,7 @@ library exports Push and Pull type parser interfaces for both XML and ...@@ -53,7 +53,7 @@ library exports Push and Pull type parser interfaces for both XML and
static library static library
.TP .TP
.B /depot/lib/libxml_2.0.0/libxml.so .B /depot/lib/libxml_2.0.0/libxml.so
shareable library shared library
.TP .TP
.B /depot/package/libxml_2.0.0/bin/xmllint .B /depot/package/libxml_2.0.0/bin/xmllint
binary application for parsing XML files binary application for parsing XML files
......
...@@ -6,11 +6,16 @@ ...@@ -6,11 +6,16 @@
* daniel@veillard.com * daniel@veillard.com
*/ */
#ifdef HAVE_CONFIG_H
#include "libxml.h"
#else
#include <stdio.h>
#endif
#if !defined(_WIN32) || defined(__CYGWIN__) #if !defined(_WIN32) || defined(__CYGWIN__)
#include <unistd.h> #include <unistd.h>
#endif #endif
#include <string.h> #include <string.h>
#include <stdio.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>
......
...@@ -11,11 +11,16 @@ ...@@ -11,11 +11,16 @@
* daniel@veillard.com * daniel@veillard.com
*/ */
#ifdef HAVE_CONFIG_H
#include "libxml.h"
#else
#include <stdio.h>
#endif
#if !defined(_WIN32) || defined(__CYGWIN__) #if !defined(_WIN32) || defined(__CYGWIN__)
#include <unistd.h> #include <unistd.h>
#endif #endif
#include <string.h> #include <string.h>
#include <stdio.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>
......
...@@ -8,13 +8,12 @@ ...@@ -8,13 +8,12 @@
* daniel@veillard.com * daniel@veillard.com
*/ */
#include "config.h" #ifdef HAVE_CONFIG_H
#ifndef WITH_TRIO #include "libxml.h"
#include <stdio.h>
#else #else
#define TRIO_REPLACE_STDIO #include <stdio.h>
#include "trio.h"
#endif #endif
#include <string.h> #include <string.h>
#include <libxml/xmlerror.h> #include <libxml/xmlerror.h>
#include <libxml/relaxng.h> #include <libxml/relaxng.h>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment