[xml] Patch for the Windows build



Hello there,

Yesterday I had problems accesing the CVS repository, so I mummled about
something which must be changed, but was unable to provide a patch.
Well, now I can do so. Here is the first one:


*** gnome-xml/xmlcatalog.c      2002/03/18 19:37:04     1.16
--- gnome-xml/xmlcatalog.c      2002/03/21 12:37:12
***************
*** 6,12 ****
   * daniel veillard com
   */
  
- #define IN_LIBXML
  #include "libxml.h"
  
  #include <string.h>
--- 6,11 ----


If I don't get things totally wrong, xmlcatalog is a client utility. In
that case, IN_LIBXML should be undefined. If I do get things totally
wrong, then someone enlighten me please :-) Here is the other thing:


*** gnome-xml/include/libxml/xmlversion.h.in    2002/03/04 17:09:44
1.31
--- gnome-xml/include/libxml/xmlversion.h.in    2002/03/21 12:37:13
***************
*** 167,176 ****
   *
   * Whether iconv support is available
   */
- #if !defined(WIN32) || defined(__CYGWIN__)
  #if @WITH_ICONV@
  #define LIBXML_ICONV_ENABLED
- #endif
  #endif
  
  /**
--- 167,174 ----


Since Windows supports iconv very well, there is no need to exclude it
from all the fun.

Ciao
Igor



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]