summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2018-06-27 08:43:48 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2018-06-27 08:43:48 +0200
commit5cbcb4433ea1a1d193c4d9febc8f368473c15f49 (patch)
treecafcb627e034770fff0b7d676ad22fb236018324
parent29cc7e3b67270ef74747edda70bead9ee46cbabe (diff)
downloadATCD-5cbcb4433ea1a1d193c4d9febc8f368473c15f49.tar.gz
Set a new define when we use atomic refcount so that we can use that in OpenDDS
* TAO/tao/Object.h:
-rw-r--r--TAO/tao/Object.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/TAO/tao/Object.h b/TAO/tao/Object.h
index 680428190b5..fea2a1a0031 100644
--- a/TAO/tao/Object.h
+++ b/TAO/tao/Object.h
@@ -31,6 +31,7 @@
#include "tao/Arg_Traits_T.h"
#include "tao/Any_Insert_Policy_T.h"
#if defined (ACE_HAS_CPP11)
+# defined TAO_OBJECT_USES_STD_ATOMIC_REFCOUNT
# include <atomic>
#else
# include "ace/Atomic_Op.h"