VirtualBox

Changeset 104200 in vbox


Ignore:
Timestamp:
Apr 5, 2024 3:28:00 PM (10 months ago)
Author:
vboxsync
Message:

libxml2-2.12.6: Make it build for linux​ bugref:10640

Location:
trunk/src/libs/libxml2-2.12.6
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/libxml2-2.12.6/include/vboxconfig.h

    r104180 r104200  
    436436#undef LIBXML_ICONV_ENABLED
    437437
    438 #define XML_HIDDEN
    439 #define ATTRIBUTE_NO_SANITIZE_INTEGER
    440 #define ATTRIBUTE_NO_SANITIZE(arg)
     438#ifdef RT_OS_WINDOWS
     439#ifndef XML_HIDDEN
     440  #define XML_HIDDEN
     441#endif
     442
     443#ifndef ATTRIBUTE_NO_SANITIZE_INTEGER
     444  #define ATTRIBUTE_NO_SANITIZE_INTEGER
     445#endif
     446
     447#ifndef ATTRIBUTE_NO_SANITIZE(arg)
     448  #define ATTRIBUTE_NO_SANITIZE(arg)
     449#endif
     450
    441451#undef NAN
     452#endif
  • trunk/src/libs/libxml2-2.12.6/xmlmemory.c

    r104196 r104200  
    3737static unsigned long  debugMemBlocks = 0;
    3838static unsigned long  debugMaxMemSize = 0;
    39 static xmlMutexPtr xmlMemMutex = NULL;
     39static xmlMutex xmlMemMutex;
    4040
    4141void xmlMallocBreakpoint(void);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette