From 8de85c6c000bb207651e4340822075af0efd0e3c Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Tue, 15 Jan 2002 17:10:15 +0000 Subject: [PATCH] try to avoid problems when compiling on Windows Daniel * libxml.h: try to avoid problems when compiling on Windows Daniel --- ChangeLog | 4 ++++ libxml.h | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index bd8069b7..04ebba70 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Jan 15 18:09:23 CET 2002 Daniel Veillard + + * libxml.h: try to avoid problems when compiling on Windows + Mon Jan 14 18:56:25 CET 2002 Daniel Veillard * hash.c: patch from Anthony Jones for hash.c allocation size diff --git a/libxml.h b/libxml.h index eaec6540..d229ba39 100644 --- a/libxml.h +++ b/libxml.h @@ -9,6 +9,9 @@ #ifndef __XML_LIBXML_H__ #define __XML_LIBXML_H__ +#ifndef IN_LIBXML +#define IN_LIBXML +#endif #if defined(WIN32) && !defined(__CYGWIN__) #include "win32config.h" #elif defined(macintosh) @@ -30,6 +33,5 @@ #define TRIO_REPLACE_STDIO #include "trio.h" #endif -#define IN_LIBXML #endif /* ! __XML_LIBXML_H__ */