diff options
author | chris <chris@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-04-16 06:06:20 +0000 |
---|---|---|
committer | chris <chris@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-04-16 06:06:20 +0000 |
commit | 92258ccb953eed942b6558ebf81a3ecb88fe71fc (patch) | |
tree | 1ee50c672907b30142a5e0172d066d357c62e6c6 /TAO/tao/ORB_Table.h | |
parent | b5ae1ef4404a41bc8b8b6349f876bf61cda9e74b (diff) | |
download | ATCD-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.h | 15 |
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) |