summaryrefslogtreecommitdiff
path: root/tests/UPIPE_SAP_Test.cpp
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-07-02 15:55:08 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-07-02 15:55:08 +0000
commit9e048e3a381ce0e341dd9f3b273030eec3f9045a (patch)
treee99632f87b779cdd3e371e19209102bb070317a9 /tests/UPIPE_SAP_Test.cpp
parent1e90f254ea8703ce1e353c9684a81ba32670a22f (diff)
downloadATCD-9e048e3a381ce0e341dd9f3b273030eec3f9045a.tar.gz
tweaked the static functions a bit to avoid warnings about unused statics on VxWorks
Diffstat (limited to 'tests/UPIPE_SAP_Test.cpp')
-rw-r--r--tests/UPIPE_SAP_Test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/UPIPE_SAP_Test.cpp b/tests/UPIPE_SAP_Test.cpp
index 512985c322b..046cd800b66 100644
--- a/tests/UPIPE_SAP_Test.cpp
+++ b/tests/UPIPE_SAP_Test.cpp
@@ -23,7 +23,7 @@
#include "ace/Service_Config.h"
#include "test_config.h"
-#if defined (ACE_HAS_THREADS)
+#if defined (ACE_HAS_THREADS) && (defined (ACE_HAS_STREAM_PIPES) || defined (ACE_WIN32))
// Global pattern
static ACE_UPIPE_Addr addr (__TEXT ("pattern"));
@@ -136,7 +136,7 @@ acceptor (void *args)
ACE_DEBUG ((LM_DEBUG, "(%t) exiting thread\n"));
return 0;
}
-#endif /* ACE_HAS_THREADS */
+#endif /* ACE_HAS_THREADS && defined ACE_HAS_STREAM_PIPES || ACE_WIN32 */
int
main (int, char *[])