mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-27 15:25:54 -04:00
physics: Fix Mac OS X 10.6 compilation issue with <atomic> header
This commit is contained in:
parent
8accdf1136
commit
6e0af8abe4
@ -14,7 +14,9 @@
|
||||
#include "physicalNode.h"
|
||||
#include "physicsManager.h"
|
||||
|
||||
#ifdef PHAVE_ATOMIC
|
||||
#include <atomic>
|
||||
#endif
|
||||
|
||||
// static stuff.
|
||||
static std::atomic_flag warned_copy_physical_node = ATOMIC_FLAG_INIT;
|
||||
|
Loading…
x
Reference in New Issue
Block a user