VirtualBox

Changeset 40873 in vbox


Ignore:
Timestamp:
Apr 11, 2012 5:31:28 PM (13 years ago)
Author:
vboxsync
Message:

iprt/cdefs.h: the regparm(0) addition in DECLASM caused a lot of warnings when building the OS/2 additions.

File:
1 edited

Legend:

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

    r40869 r40873  
    697697 */
    698698#ifdef __cplusplus
    699 # ifdef _MSC_VER
     699# if defined(_MSC_VER) || defined(RT_OS_OS2)
    700700#  define DECLASM(type)          extern "C" type __cdecl
    701701# elif defined(__GNUC__) && defined(RT_ARCH_X86)
     
    705705# endif
    706706#else
    707 # ifdef _MSC_VER
     707# if defined(_MSC_VER) || defined(RT_OS_OS2)
    708708#  define DECLASM(type)          type __cdecl
    709709# elif defined(__GNUC__) && defined(RT_ARCH_X86)
     
    718718 * @param   type    The return type of the function.
    719719 */
    720 #ifdef _MSC_VER
     720# if defined(_MSC_VER) || defined(RT_OS_OS2)
    721721# define DECLASMTYPE(type)      type __cdecl
    722722#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