VirtualBox

Changeset 96465 in vbox


Ignore:
Timestamp:
Aug 24, 2022 10:39:17 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
153311
Message:

iprt/nocrt/unistd.h,stdlib,stdio.h: Some additions and fixes related to making libxml2 build. bugref:10261

Location:
trunk/include/iprt/nocrt
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/nocrt/stdio.h

    r96407 r96465  
    6666AssertCompile(SEEK_SET == 0); AssertCompile(SEEK_CUR == 1); AssertCompile(SEEK_END == 2); /* Also in WDK header mmiscapi.h. */
    6767
     68# define RT_NOCRT_BUFSIZ    4096
     69# define BUFSIZ             RT_NOCRT_BUFSIZ
    6870
    6971RT_C_DECLS_BEGIN
  • trunk/include/iprt/nocrt/stdlib.h

    r96407 r96465  
    185185#  define exit          RT_NOCRT(exit)
    186186#  define abort         RT_NOCRT(abort)
     187#  define abs           RT_NOCRT(abs)
     188#  define labs          RT_NOCRT(labs)
     189#  define llabs         RT_NOCRT(llabs)
    187190#  define rand          RT_NOCRT(rand)
    188191#  define srand         RT_NOCRT(srand)
     
    203206#  define _exit         RT_NOCRT(exit)
    204207#  define _abort        RT_NOCRT(abort)
     208#  define _abs          RT_NOCRT(abs)
     209#  define _labs         RT_NOCRT(labs)
     210#  define _llabs        RT_NOCRT(llabs)
     211#  define _rand         RT_NOCRT(rand)
     212#  define _srand        RT_NOCRT(srand)
    205213#  define _strtol       RT_NOCRT(strtol)
    206214#  define _strtoll      RT_NOCRT(strtoll)
  • trunk/include/iprt/nocrt/unistd.h

    r96407 r96465  
    7474int             RT_NOCRT(close)(int) RT_NOEXCEPT;
    7575int             RT_NOCRT(isatty)(int) RT_NOEXCEPT;
     76char           *RT_NOCRT(getcwd)(char *, size_t) RT_NOEXCEPT;
    7677RTPROCESS       RT_NOCRT(getpid)(void) RT_NOEXCEPT;
    7778RTPROCESS       RT_NOCRT(getppid)(void) RT_NOEXCEPT;
     
    8586int             RT_NOCRT(_close)(int) RT_NOEXCEPT;
    8687int             RT_NOCRT(_isatty)(int) RT_NOEXCEPT;
     88char           *RT_NOCRT(_getcwd)(char *, size_t) RT_NOEXCEPT;
    8789RTPROCESS       RT_NOCRT(_getpid)(void) RT_NOEXCEPT;
    8890RTPROCESS       RT_NOCRT(_getppid)(void) RT_NOEXCEPT;
     
    9799#  define close         RT_NOCRT(close)
    98100#  define isatty        RT_NOCRT(isatty)
     101#  define getcwd        RT_NOCRT(getcwd)
    99102#  define getpid        RT_NOCRT(getpid)
    100103#  define getppid       RT_NOCRT(getppid)
     
    108111#  define _close        RT_NOCRT(close)
    109112#  define _isatty       RT_NOCRT(isatty)
     113#  define _getcwd       RT_NOCRT(getcwd)
    110114#  define _getpid       RT_NOCRT(getpid)
    111115#  define _getppid      RT_NOCRT(getppid)
Note: See TracChangeset for help on using the changeset viewer.

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