VirtualBox

Changeset 103459 in vbox


Ignore:
Timestamp:
Feb 19, 2024 8:24:25 PM (9 months ago)
Author:
vboxsync
Message:

iprt/string.h: Make sure mempcpy is prototyped on OS/2 (it's part of kLibC but only visible when _GNU_SOURCE is defined).

File:
1 edited

Legend:

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

    r103444 r103459  
    105105#endif
    106106
    107 #if (defined(RT_OS_DARWIN) || defined(RT_OS_SOLARIS) || defined(RT_OS_WINDOWS)) && !defined(IPRT_NO_CRT)
     107#if !defined(IPRT_NO_CRT) \
     108 && (   defined(RT_OS_DARWIN) \
     109     || (defined(RT_OS_OS2) && (!defined(_GNU_SOURCE) || !defined(__GNUC__))) \
     110     || defined(RT_OS_SOLARIS) \
     111     || defined(RT_OS_WINDOWS))
    108112RT_C_DECLS_BEGIN
    109113# if !defined(RT_OS_DARWIN) || RT_CLANG_PREREQ(7 /* whatever post gcc-4.2 */, 0)
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