VirtualBox

Changeset 95769 in vbox for trunk/include


Ignore:
Timestamp:
Jul 20, 2022 10:13:34 PM (2 years ago)
Author:
vboxsync
Message:

iprt/alloca.h: Added alloca proto/define for IPRT_NO_CRT/Windows compatible with VisualC++ 2019 at least. [build fix] bugref:10261

File:
1 edited

Legend:

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

    r95768 r95769  
    5252#elif defined(IPRT_NO_CRT) && defined(RT_OS_WINDOWS)
    5353# include <iprt/types.h>
    54 void * _alloca(size_t);
     54
     55RT_C_DECLS_BEGIN
     56# ifdef RT_ARCH_X86
     57void * __cdecl _alloca(size_t);
     58# else
     59void          *_alloca(size_t);
     60# endif
    5561# define alloca _alloca
     62RT_C_DECLS_END
    5663
    5764#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