summaryrefslogtreecommitdiff
path: root/ace/Object_Manager.cpp
diff options
context:
space:
mode:
authoragg1 <agg1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-07-25 02:29:28 +0000
committeragg1 <agg1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-07-25 02:29:28 +0000
commit091fbb2d3d94bb0a724f2d3639c1f51e707ff6e1 (patch)
treeb45ed5606c3d19263b6fe323b7bb43761270741d /ace/Object_Manager.cpp
parent4a44ea2c64dfdb3ee0f4c42d1050462976c0224f (diff)
downloadATCD-091fbb2d3d94bb0a724f2d3639c1f51e707ff6e1.tar.gz
Mon Jul 24 21:22:03 2000 Andrew G. Gilpin <agg1@cs.wustl.edu>
Diffstat (limited to 'ace/Object_Manager.cpp')
-rw-r--r--ace/Object_Manager.cpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/ace/Object_Manager.cpp b/ace/Object_Manager.cpp
index 88a6cb502aa..f3bec50b9ff 100644
--- a/ace/Object_Manager.cpp
+++ b/ace/Object_Manager.cpp
@@ -112,9 +112,9 @@ private:
// We can't use the ACE_SVC_FACTORY_DECLARE macro here because this
// needs to be in the ACE_Export context rather than the
// ACE_Svc_Export context.
-extern "C" ACE_Export
-ACE_Service_Object *
-_make_ACE_Service_Manager (ACE_Service_Object_Exterminator *);
+//extern "C" ACE_Export
+//ACE_Service_Object *
+//_make_ACE_Service_Manager (ACE_Service_Object_Exterminator *);
ACE_Object_Manager_Preallocations::ACE_Object_Manager_Preallocations (void)
{
@@ -767,12 +767,13 @@ static ACE_Object_Manager_Manager ACE_Object_Manager_Manager_instance;
#if defined (ACE_HAS_THREADS)
+// hack to get around errors while compiling using split-cpp
+#if !defined (ACE_IS_SPLITTING)
// This is global so that it doesn't have to be declared in the header
// file. That would cause nasty circular include problems.
-typedef ACE_Cleanup_Adapter<ACE_Recursive_Thread_Mutex>
- ACE_Static_Object_Lock_Type;
-static ACE_Static_Object_Lock_Type *
- ACE_Static_Object_Lock_lock = 0;
+typedef ACE_Cleanup_Adapter<ACE_Recursive_Thread_Mutex> ACE_Static_Object_Lock_Type;
+static ACE_Static_Object_Lock_Type *ACE_Static_Object_Lock_lock = 0;
+#endif /* ! ACE_IS_SPLITTING */
// ACE_SHOULD_MALLOC_STATIC_OBJECT_LOCK isn't (currently) used by ACE.
// But, applications may find it useful for avoiding recursive calls