summaryrefslogtreecommitdiff
path: root/ace
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-08-26 00:13:37 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-08-26 00:13:37 +0000
commit01152f87a9fe8426c7b3cd6a237f724b3943b139 (patch)
treeade2808163b82ff32bb78b981bd03c2df37a9862 /ace
parent9328677b73cf078186c23366e33249c1fbd81ce9 (diff)
downloadATCD-01152f87a9fe8426c7b3cd6a237f724b3943b139.tar.gz
ChangeLogTag:Fri Aug 25 17:11:25 2000 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'ace')
-rw-r--r--ace/Thread_Control.cpp9
-rw-r--r--ace/Thread_Control.h4
2 files changed, 12 insertions, 1 deletions
diff --git a/ace/Thread_Control.cpp b/ace/Thread_Control.cpp
index 13a4c063795..739c3758550 100644
--- a/ace/Thread_Control.cpp
+++ b/ace/Thread_Control.cpp
@@ -1,5 +1,14 @@
// $Id$
+// <HACK ON>
+#include "ace/config-all.h"
+#if !defined (ACE_ONLY_LATEST_AND_GREATEST)
+// This silly include breaks a cycle when compiling in backwards
+// compatibility mode
+# include "ace/Thread_Exit.h"
+#endif /* ACE_ONLY_LATEST_AND_GREATEST */
+// </HACK OFF>
+
#include "ace/Thread_Control.h"
#include "ace/Thread_Manager.h"
diff --git a/ace/Thread_Control.h b/ace/Thread_Control.h
index 4fcce7cd770..32a368db0aa 100644
--- a/ace/Thread_Control.h
+++ b/ace/Thread_Control.h
@@ -23,7 +23,9 @@
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-#include "ace/OS.h"
+#if defined (ACE_ONLY_LATEST_AND_GREATEST)
+# include "ace/OS.h"
+#endif /* ACE_ONLY_LATEST_AND_GREATEST */
class ACE_Thread_Manager;