Changeset 2252 in vbox for trunk/include/iprt
- Timestamp:
- Apr 20, 2007 4:40:47 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/asm.h
r2247 r2252 1786 1786 DECLINLINE(bool) ASMAtomicXchgBool(volatile bool *pf, bool f) 1787 1787 { 1788 #ifdef _MSC_VER 1789 return !!ASMAtomicXchgU8((volatile uint8_t *)pf, (uint8_t)f); 1790 #else 1788 1791 return (bool)ASMAtomicXchgU8((volatile uint8_t *)pf, (uint8_t)f); 1792 #endif 1789 1793 } 1790 1794
Note:
See TracChangeset
for help on using the changeset viewer.