summaryrefslogtreecommitdiff
path: root/TAO/tests
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2003-08-28 04:47:52 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2003-08-28 04:47:52 +0000
commitb02eb217c8751783c637cefc47b2cc7b6135806d (patch)
tree29b6660cf6c4082e8e7317bc86d2cc3d5cb1815f /TAO/tests
parent89b39c390d40b68ed9b2acbe62551c5787074540 (diff)
downloadATCD-b02eb217c8751783c637cefc47b2cc7b6135806d.tar.gz
ChangeLogTag:Wed Aug 27 21:45:59 2003 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tests')
-rw-r--r--TAO/tests/Big_Oneways/Session.h7
-rw-r--r--TAO/tests/Big_Twoways/Session.h7
2 files changed, 12 insertions, 2 deletions
diff --git a/TAO/tests/Big_Oneways/Session.h b/TAO/tests/Big_Oneways/Session.h
index 9e026ad4fbb..e52ef805e36 100644
--- a/TAO/tests/Big_Oneways/Session.h
+++ b/TAO/tests/Big_Oneways/Session.h
@@ -9,7 +9,12 @@
#include "TestS.h"
#include "Session_Task.h"
-#include "ace/Barrier.h"
+
+#if defined(ACE_HAS_THREADS)
+# include "ace/Barrier.h"
+#else
+# include "ace/Null_Barrier.h"
+#endif /* ACE_HAS_THREADS */
#if defined (_MSC_VER)
# if (_MSC_VER >= 1200)
diff --git a/TAO/tests/Big_Twoways/Session.h b/TAO/tests/Big_Twoways/Session.h
index 803bb8aec94..58cc353e8d9 100644
--- a/TAO/tests/Big_Twoways/Session.h
+++ b/TAO/tests/Big_Twoways/Session.h
@@ -9,7 +9,12 @@
#include "TestS.h"
#include "Session_Task.h"
-#include "ace/Barrier.h"
+
+#if defined(ACE_HAS_THREADS)
+# include "ace/Barrier.h"
+#else
+# include "ace/Null_Barrier.h"
+#endif /* ACE_HAS_THREADS */
#if defined (_MSC_VER)
# if (_MSC_VER >= 1200)