VirtualBox

Changeset 66849 in vbox for trunk


Ignore:
Timestamp:
May 9, 2017 1:45:24 PM (7 years ago)
Author:
vboxsync
Message:

iprt/cdefs.h: adapted RT_THROW for gcc 7 and simplified it for VC

File:
1 edited

Legend:

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

    r66772 r66849  
    10941094 */
    10951095#ifdef RT_EXCEPTIONS_ENABLED
    1096 # ifdef _MSC_VER
    1097 #  if _MSC_VER >= 1310
     1096# if RT_MSC_PREREQ(RT_MSC_VER_VC71)
    10981097#   define RT_THROW(type)
    1099 #  else
     1098# elif RT_GNUC_PREREQ(7, 0)
     1099#   define RT_THROW(type)
     1100# else
    11001101#   define RT_THROW(type)       throw(type)
    1101 #  endif
    1102 # else
    1103 #  define RT_THROW(type)        throw(type)
    11041102# endif
    11051103#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