mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
use Posix longs
This commit is contained in:
parent
8ebd82fbcc
commit
c16875f104
@ -30,7 +30,10 @@
|
|||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
class EXPCL_DTOOL AtomicAdjustPosixImpl {
|
class EXPCL_DTOOL AtomicAdjustPosixImpl {
|
||||||
public:
|
public:
|
||||||
typedef int Integer;
|
// In Posix, "long" is generally the native word size (32- or
|
||||||
|
// 64-bit), which is what we'd prefer.
|
||||||
|
typedef long Integer;
|
||||||
|
|
||||||
INLINE static void inc(TVOLATILE Integer &var);
|
INLINE static void inc(TVOLATILE Integer &var);
|
||||||
INLINE static bool dec(TVOLATILE Integer &var);
|
INLINE static bool dec(TVOLATILE Integer &var);
|
||||||
INLINE static void add(TVOLATILE Integer &var, Integer delta);
|
INLINE static void add(TVOLATILE Integer &var, Integer delta);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user