mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44:36 +00:00
Remove comments.
This commit is contained in:
parent
f3199b04e4
commit
ae4ac53592
2 changed files with 1 additions and 14 deletions
|
|
@ -42,7 +42,6 @@ inline void dFetchAndAdd( volatile U32& ref, U32 val )
|
|||
#if defined(TORQUE_OS_PS3)
|
||||
cellAtomicAdd32( (std::uint32_t *)&ref, val );
|
||||
#elif !defined(TORQUE_OS_MAC)
|
||||
//__sync_fetch_and_add( ( volatile long* ) &ref, val );
|
||||
__sync_fetch_and_add(&ref, val );
|
||||
#else
|
||||
OSAtomicAdd32( val, (int32_t* ) &ref);
|
||||
|
|
@ -54,7 +53,6 @@ inline void dFetchAndAdd( volatile S32& ref, S32 val )
|
|||
#if defined(TORQUE_OS_PS3)
|
||||
cellAtomicAdd32( (std::uint32_t *)&ref, val );
|
||||
#elif !defined(TORQUE_OS_MAC)
|
||||
//__sync_fetch_and_add( ( volatile long* ) &ref, val );
|
||||
__sync_fetch_and_add( &ref, val );
|
||||
#else
|
||||
OSAtomicAdd32( val, (int32_t* ) &ref);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue