summaryrefslogtreecommitdiff
path: root/TAO/tao/ORB_Table.h
diff options
context:
space:
mode:
authorchris <chris@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-04-16 06:06:20 +0000
committerchris <chris@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-04-16 06:06:20 +0000
commit92258ccb953eed942b6558ebf81a3ecb88fe71fc (patch)
tree1ee50c672907b30142a5e0172d066d357c62e6c6 /TAO/tao/ORB_Table.h
parentb5ae1ef4404a41bc8b8b6349f876bf61cda9e74b (diff)
downloadATCD-92258ccb953eed942b6558ebf81a3ecb88fe71fc.tar.gz
ChangeLogTag:Tue Apr 16 00:48:52 2002 Christopher Kohlhoff <chris@kohlhoff.com>
Diffstat (limited to 'TAO/tao/ORB_Table.h')
-rw-r--r--TAO/tao/ORB_Table.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/TAO/tao/ORB_Table.h b/TAO/tao/ORB_Table.h
index 9adda3bb185..d15398febf8 100644
--- a/TAO/tao/ORB_Table.h
+++ b/TAO/tao/ORB_Table.h
@@ -102,8 +102,23 @@ private:
#pragma warning(disable:4231)
#endif /* _MSC_VER */
+#if defined (__BORLANDC__)
+# if !defined (TAO_BUILD_DLL)
+// The TAO_SINGLETON_DECLARE macro on its own does not work with
+// Borland C++. Therefore we use the following pragma to force
+// the template specialisation to be exported from the DLL.
+# pragma option push -Jgx
+# endif
+#endif
+
TAO_SINGLETON_DECLARE (TAO_Singleton, TAO_ORB_Table, TAO_SYNCH_MUTEX)
+#if defined (__BORLANDC__)
+# if !defined(TAO_BUILD_DLL)
+# pragma option pop
+# endif
+#endif
+
#if defined (_MSC_VER)
// Re-enable the warning.
#pragma warning(default:4231)