VirtualBox

Changeset 47435 in vbox for trunk/include/iprt/cdefs.h


Ignore:
Timestamp:
Jul 27, 2013 1:13:02 PM (11 years ago)
Author:
vboxsync
Message:

iprt/cdefs.h: RT_INLINE_ASM_USES_INTRIN = major MSC version number so we can select bits which are available and which are not more easily.

File:
1 edited

Legend:

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

    r46690 r47435  
    26522652
    26532653/** @def RT_INLINE_ASM_USES_INTRIN
    2654  * Defined as 1 if the compiler have and uses intrin.h. Otherwise it is 0. */
     2654 * Defined as the major MSC version if the compiler have and uses intrin.h.
     2655 * Otherwise it is 0. */
    26552656#ifdef _MSC_VER
    2656 # if _MSC_VER >= 1400
    2657 #  define RT_INLINE_ASM_USES_INTRIN 1
     2657# if   _MSC_VER >= 1700
     2658#  define RT_INLINE_ASM_USES_INTRIN 17
     2659# elif _MSC_VER >= 1600
     2660#  define RT_INLINE_ASM_USES_INTRIN 16
     2661# elif _MSC_VER >= 1500
     2662#  define RT_INLINE_ASM_USES_INTRIN 15
     2663# elif _MSC_VER >= 1400
     2664#  define RT_INLINE_ASM_USES_INTRIN 14
    26582665# endif
    26592666#endif
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