From 9e048e3a381ce0e341dd9f3b273030eec3f9045a Mon Sep 17 00:00:00 2001 From: levine Date: Wed, 2 Jul 1997 15:55:08 +0000 Subject: tweaked the static functions a bit to avoid warnings about unused statics on VxWorks --- tests/UPIPE_SAP_Test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/UPIPE_SAP_Test.cpp') 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 *[]) -- cgit v1.2.1