diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-07-02 15:55:08 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-07-02 15:55:08 +0000 |
commit | c95d55eac969347eef21496d25a73a86be1df6ce (patch) | |
tree | e99632f87b779cdd3e371e19209102bb070317a9 /tests/UPIPE_SAP_Test.cpp | |
parent | 69c51f4d7bead706abe20c81212c3b61686783f0 (diff) | |
download | ATCD-c95d55eac969347eef21496d25a73a86be1df6ce.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.cpp | 4 |
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 *[]) |