summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1996-12-24 20:44:26 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1996-12-24 20:44:26 +0000
commit27524dd4b7132d622a45c66155dd3053d2f9a75b (patch)
treeb1c193c1daf2d3f4145bcd0ff8f37a831ec130af
parentabbab88210869c99c4b9ee14663790afba1e9d24 (diff)
downloadATCD-27524dd4b7132d622a45c66155dd3053d2f9a75b.tar.gz
don't include ace/ARGV.h except on WIN32 because it's only needed there, and don't compile ACE_Thread_Adapter VxWorks to save space
-rw-r--r--ace/OS.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/ace/OS.cpp b/ace/OS.cpp
index f4c3ea7d871..a297e13fc10 100644
--- a/ace/OS.cpp
+++ b/ace/OS.cpp
@@ -4,7 +4,9 @@
#define ACE_BUILD_DLL
#include "ace/OS.h"
+#if defined (ACE_WIN32)
#include "ace/ARGV.h"
+#endif /* ACE_WIN32 */
// Perhaps we should *always* include ace/OS.i in order to make sure
// we can always link against the OS symbols?
@@ -541,6 +543,7 @@ ACE_TSS_Cleanup::dump (void)
#endif /* WIN32 */
+#if !defined (VXWORKS)
class ACE_Thread_Adapter
// = TITLE
// Converts a C++ function into a function <ace_thread_adapter>
@@ -608,6 +611,7 @@ ACE_Thread_Adapter::ACE_Thread_Adapter (ACE_THR_FUNC f, void *a)
{
// ACE_TRACE ("ACE_Thread_Adapter::ACE_Thread_Adapter");
}
+#endif /* VXWORKS */
int
ACE_OS::thr_create (ACE_THR_FUNC func,