summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-10-14 22:08:17 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-10-14 22:08:17 +0000
commit4f2b4f6ec7aabb0202223382b02cea7758e40513 (patch)
tree1e3842a39ecc31bbb1026ecf46ba89be1277ded9
parent6d87993373fbc249c0ce029a70e4696a0882d7c8 (diff)
downloadATCD-4f2b4f6ec7aabb0202223382b02cea7758e40513.tar.gz
ChangeLogTag:Sat Oct 14 15:04:16 2000 Carlos O'Ryan <coryan@uci.edu>
-rw-r--r--ChangeLog9
-rw-r--r--ChangeLogs/ChangeLog-02a9
-rw-r--r--ChangeLogs/ChangeLog-03a9
-rw-r--r--ace/Naming_Context.h2
-rw-r--r--ace/OS.h5
5 files changed, 32 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index c89aa48cc02..d42d2b55963 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+Sat Oct 14 15:04:16 2000 Carlos O'Ryan <coryan@uci.edu>
+
+ * ace/OS.h:
+ * ace/Naming_Context.h:
+ Static services must be exported from the library, so they
+ require the right export directives.
+ Added a new ACE_STATIC_SVC_DECLARE_EXPORT() macro for that
+ purpose and use it for the Naming_Context.
+
Sat Oct 14 09:55:43 2000 Carlos O'Ryan <coryan@uci.edu>
* ace/Makefile.bor:
diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a
index c89aa48cc02..d42d2b55963 100644
--- a/ChangeLogs/ChangeLog-02a
+++ b/ChangeLogs/ChangeLog-02a
@@ -1,3 +1,12 @@
+Sat Oct 14 15:04:16 2000 Carlos O'Ryan <coryan@uci.edu>
+
+ * ace/OS.h:
+ * ace/Naming_Context.h:
+ Static services must be exported from the library, so they
+ require the right export directives.
+ Added a new ACE_STATIC_SVC_DECLARE_EXPORT() macro for that
+ purpose and use it for the Naming_Context.
+
Sat Oct 14 09:55:43 2000 Carlos O'Ryan <coryan@uci.edu>
* ace/Makefile.bor:
diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a
index c89aa48cc02..d42d2b55963 100644
--- a/ChangeLogs/ChangeLog-03a
+++ b/ChangeLogs/ChangeLog-03a
@@ -1,3 +1,12 @@
+Sat Oct 14 15:04:16 2000 Carlos O'Ryan <coryan@uci.edu>
+
+ * ace/OS.h:
+ * ace/Naming_Context.h:
+ Static services must be exported from the library, so they
+ require the right export directives.
+ Added a new ACE_STATIC_SVC_DECLARE_EXPORT() macro for that
+ purpose and use it for the Naming_Context.
+
Sat Oct 14 09:55:43 2000 Carlos O'Ryan <coryan@uci.edu>
* ace/Makefile.bor:
diff --git a/ace/Naming_Context.h b/ace/Naming_Context.h
index 4bb22fb27a7..3ad1d4dbc5a 100644
--- a/ace/Naming_Context.h
+++ b/ace/Naming_Context.h
@@ -330,7 +330,7 @@ private:
};
ACE_FACTORY_DECLARE (ACE, ACE_Naming_Context)
-ACE_STATIC_SVC_DECLARE (ACE_Naming_Context)
+ACE_STATIC_SVC_DECLARE_EXPORT (ACE,ACE_Naming_Context)
ACE_STATIC_SVC_REQUIRE (ACE_Naming_Context)
#include "ace/post.h"
diff --git a/ace/OS.h b/ace/OS.h
index 2f9f021d61a..9d1b9d2ac21 100644
--- a/ace/OS.h
+++ b/ace/OS.h
@@ -1477,7 +1477,10 @@ typedef void (*ACE_Service_Object_Exterminator)(void *);
}
// Static service macros
-# define ACE_STATIC_SVC_DECLARE(X) extern ACE_Static_Svc_Descriptor ace_svc_desc_##X ;
+# define ACE_STATIC_SVC_DECLARE(X) \
+extern ACE_Static_Svc_Descriptor ace_svc_desc_##X ;
+#define ACE_STATIC_SVC_DECLARE_EXPORT(CLS,X) \
+extern CLS##_Export ACE_Static_Svc_Descriptor ace_svc_desc_##X;
# define ACE_STATIC_SVC_DEFINE(X, NAME, TYPE, FN, FLAGS, ACTIVE) \
ACE_Static_Svc_Descriptor ace_svc_desc_##X = { NAME, TYPE, FN, FLAGS, ACTIVE };