summaryrefslogtreecommitdiff
path: root/tests/Semaphore_Test.cpp
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-09-18 21:34:44 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-09-18 21:34:44 +0000
commit3420c0647f464062edb6928bace56bc6d52e6f17 (patch)
treeb590d752bf2e54493afcc4ccad2bb79bd635c1d8 /tests/Semaphore_Test.cpp
parente2bd28843f3928ab9bab6723496b0854013c7a27 (diff)
downloadATCD-3420c0647f464062edb6928bace56bc6d52e6f17.tar.gz
protected declarations of test_timeout_count and timeouts because they're not used on Solaris
Diffstat (limited to 'tests/Semaphore_Test.cpp')
-rw-r--r--tests/Semaphore_Test.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/Semaphore_Test.cpp b/tests/Semaphore_Test.cpp
index 6884a81b9fb..beeef231877 100644
--- a/tests/Semaphore_Test.cpp
+++ b/tests/Semaphore_Test.cpp
@@ -38,11 +38,13 @@ static size_t n_workers = 10;
// Amount to release the semaphore.
static size_t n_release_count = 3;
+#if !defined (ACE_HAS_STHREADS)
// Number of times to call test_timeout().
static size_t test_timeout_count;
// Number of timeouts.
static size_t timeouts = 0;
+#endif /* ! ACE_HAS_STHREADS */
// Explain usage and exit.
static void