VirtualBox

Changeset 93959 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Feb 27, 2022 1:52:24 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
150189
Message:

IPRT: Expose mempcpy on darwin+windows so we can build DevFwCommon after r150183. scm fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/string.h

    r93958 r93959  
    7575 * IPRT instead of the operating environment.
    7676 */
    77 #if defined(RT_OS_DARWIN)
     77#if defined(RT_OS_DARWIN) && defined(KERNEL)
    7878RT_C_DECLS_BEGIN
    79 # ifdef KERNEL
    8079void *memchr(const void *pv, int ch, size_t cb);
    8180char *strpbrk(const char *pszStr, const char *pszChars);
    82 # endif
    83 RTDECL(void *) mempcpy(void *pvDst, const void *pvSrc, size_t cb);
    8481RT_C_DECLS_END
    8582#endif
     
    9491RT_C_DECLS_BEGIN
    9592char *strpbrk(const char *pszStr, const char *pszChars);
     93RT_C_DECLS_END
     94#endif
     95
     96#if (defined(RT_OS_DARWIN) || defined(RT_OS_WINDOWS)) !defined(IPRT_NO_CRT)
     97RT_C_DECLS_BEGIN
     98RTDECL(void *) mempcpy(void *pvDst, const void *pvSrc, size_t cb);
    9699RT_C_DECLS_END
    97100#endif
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