VirtualBox

Changeset 96464 in vbox for trunk/src/libs/libxml2-2.9.14


Ignore:
Timestamp:
Aug 24, 2022 10:34:31 PM (2 years ago)
Author:
vboxsync
Message:

libs/libxml2-2.9.14: Made it build in no-CRT mode. bugref:10261

Location:
trunk/src/libs/libxml2-2.9.14
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/libxml2-2.9.14/Makefile.kmk

    r96407 r96464  
    112112VBox-libxml2-static_TEMPLATE = VBoxR3StaticNonPedantic
    113113VBox-libxml2-static_EXTENDS = VBox-libxml2
    114 
     114ifdef VBOX_WITH_NOCRT_STATIC
     115 VBox-libxml2-static_DEFS = $(VBox-libxml2_DEFS) IPRT_NO_CRT_FOR_3RD_PARTY
     116endif
    115117
    116118include $(FILE_KBUILD_SUB_FOOTER)
  • trunk/src/libs/libxml2-2.9.14/xmlIO.c

    r95312 r96464  
    191191};
    192192
    193 #if defined(_WIN32) || defined (__DJGPP__) && !defined (__CYGWIN__)
     193#if (defined(_WIN32) || defined (__DJGPP__)) && !defined (__CYGWIN__) && !defined(IPRT_NO_CRT)
    194194/**
    195195 * __xmlIOWin32UTF8ToWChar:
     
    596596 ************************************************************************/
    597597
    598 #if defined(_WIN32) || defined (__DJGPP__) && !defined (__CYGWIN__)
     598#if (defined(_WIN32) || defined (__DJGPP__)) && !defined (__CYGWIN__) && !defined(IPRT_NO_CRT)
    599599
    600600/**
     
    697697{
    698698#ifdef HAVE_STAT
    699 #if defined(_WIN32) || defined (__DJGPP__) && !defined (__CYGWIN__)
     699#if (defined(_WIN32) || defined (__DJGPP__)) && !defined (__CYGWIN__) && !defined(IPRT_NO_CRT)
    700700    struct _stat stat_buffer;
    701701#else
     
    707707
    708708#ifdef HAVE_STAT
    709 #if defined(_WIN32) || defined (__DJGPP__) && !defined (__CYGWIN__)
     709#if (defined(_WIN32) || defined (__DJGPP__)) && !defined (__CYGWIN__) && !defined(IPRT_NO_CRT)
    710710    /*
    711711     * On Windows stat and wstat do not work with long pathname,
     
    864864#endif
    865865
    866 #if defined(_WIN32) || defined (__DJGPP__) && !defined (__CYGWIN__)
     866#if (defined(_WIN32) || defined (__DJGPP__)) && !defined (__CYGWIN__) && !defined(IPRT_NO_CRT)
    867867    fd = xmlWrapOpenUtf8(path, 0);
    868868#else
     
    937937        return(NULL);
    938938
    939 #if defined(_WIN32) || defined (__DJGPP__) && !defined (__CYGWIN__)
     939#if (defined(_WIN32) || defined (__DJGPP__)) && !defined (__CYGWIN__) && !defined(IPRT_NO_CRT)
    940940    fd = xmlWrapOpenUtf8(path, 1);
    941941#elif(__MVS__)
     
    11291129        return(NULL);
    11301130
    1131 #if defined(_WIN32) || defined (__DJGPP__) && !defined (__CYGWIN__)
     1131#if (defined(_WIN32) || defined (__DJGPP__)) && !defined (__CYGWIN__) && !defined(IPRT_NO_CRT)
    11321132    fd = xmlWrapGzOpenUtf8(path, "rb");
    11331133#else
     
    12061206        return(NULL);
    12071207
    1208 #if defined(_WIN32) || defined (__DJGPP__) && !defined (__CYGWIN__)
     1208#if (defined(_WIN32) || defined (__DJGPP__)) && !defined (__CYGWIN__) && !defined(IPRT_NO_CRT)
    12091209    fd = xmlWrapGzOpenUtf8(path, mode);
    12101210#else
  • trunk/src/libs/libxml2-2.9.14/xmlmemory.c

    r95312 r96464  
    965965{
    966966#ifdef HAVE_STDLIB_H
     967#ifdef VBOX
     968     const char *breakpoint;
     969#else
    967970     char *breakpoint;
     971#endif
    968972#endif
    969973#ifdef DEBUG_MEMORY
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