VirtualBox

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
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