[xml] Build libxml2-2.4.12 on Win32: Patch for libxml2.def.src



Hello,

it's maybe an exotic configuration, but i'm experimeting with libxml2 HTML
support enabled
and HTTP support disabled on WIn32 platform.
Compiling libxml2 i've got two unresolved external symbols:

  libxml2.def : error LNK2001: unresolved external symbol xmlIOHTTPOpenW
  libxml2.def : error LNK2001: unresolved external symbol
xmlRegisterHTTPPostCallbacks 

I'd like to propose following patch since the two are should only exported
if HTTP support
is enabled (i'm sorry that i can't provide a 'standard' diff, but i'm still
lack of an
appropriate diff tool for Win32. Any recommendations?):


*** 816,820 ****
  #ifdef LIBXML_HTML_ENABLED
        htmlDocContentDumpOutput
        xmlIOHTTPOpenW
        xmlRegisterHTTPPostCallbacks
  #endif /* LIBXML_HTML_ENABLED */

--- 816,822---
  #ifdef LIBXML_HTML_ENABLED
        htmlDocContentDumpOutput
+ #ifdef LIBXML_HTTP_ENABLED
        xmlIOHTTPOpenW
        xmlRegisterHTTPPostCallbacks
+ #endif /* LIBXML_HTTP_ENABLED */
  #endif /* LIBXML_HTML_ENABLED */



Mit freundlichen Gruessen - Kind regards
Markus Henke

 <<libxml2.def.src.zip>> 

________________________Addressed by:________________________
 ORDAT GmbH & Co. KG  -  Serversystems / eCom 
 Dipl.-Inf. (FH) Markus Henke  Fon: +49 (641) 7941-0
 Rathenaustr. 1                Fax: +49 (641) 7941-132
 35394 Gießen                  mailto:markus henke ordat com
 See:                          http://www.ordat.com
_____________________________________________________________
              ...this behavior is by design...

Attachment: libxml2.def.src.zip
Description: Binary data



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