From 6e0af8abe4ae939eab629d848c232ebc9cdedcd0 Mon Sep 17 00:00:00 2001 From: rdb Date: Thu, 25 Mar 2021 15:37:52 +0100 Subject: [PATCH] physics: Fix Mac OS X 10.6 compilation issue with header --- panda/src/physics/physicalNode.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/panda/src/physics/physicalNode.cxx b/panda/src/physics/physicalNode.cxx index 18858b6201..87b8216eb1 100644 --- a/panda/src/physics/physicalNode.cxx +++ b/panda/src/physics/physicalNode.cxx @@ -14,7 +14,9 @@ #include "physicalNode.h" #include "physicsManager.h" +#ifdef PHAVE_ATOMIC #include +#endif // static stuff. static std::atomic_flag warned_copy_physical_node = ATOMIC_FLAG_INIT;