VirtualBox

Changeset 33138 in vbox


Ignore:
Timestamp:
Oct 14, 2010 3:43:08 PM (14 years ago)
Author:
vboxsync
Message:

iprt/asm.h: build fix.

File:
1 edited

Legend:

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

    r33136 r33138  
    26422642DECLINLINE(uint64_t) ASMAtomicIncU64(uint64_t volatile *pu64)
    26432643{
     2644# if RT_INLINE_ASM_USES_INTRIN && defined(RT_ARCH_AMD64)
    26442645    uint64_t u64;
    2645 # if RT_INLINE_ASM_USES_INTRIN && defined(RT_ARCH_AMD64)
    26462646    u64 = _InterlockedIncrement64((__int64 *)pu64);
    26472647    return u64;
    26482648
    26492649# elif RT_INLINE_ASM_GNU_STYLE && defined(RT_ARCH_AMD64)
     2650    uint64_t u64;
    26502651    __asm__ __volatile__("lock; xaddq %0, %1\n\t"
    26512652                         : "=r" (u64),
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