summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Trader/Trader.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Trader/Trader.h')
-rw-r--r--TAO/orbsvcs/orbsvcs/Trader/Trader.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Trader.h b/TAO/orbsvcs/orbsvcs/Trader/Trader.h
index 2eb09074b1c..25d731b8fbe 100644
--- a/TAO/orbsvcs/orbsvcs/Trader/Trader.h
+++ b/TAO/orbsvcs/orbsvcs/Trader/Trader.h
@@ -122,7 +122,15 @@ private:
* Class used to remove the circular dependencies between the
* Attribute classes and the Trader class.
*/
+#if defined (__BORLANDC__) && (__BORLANDC__ < 0x572)
+// Work around Borland unresolved symbol errors concerning the
+// out-of-line virtual destructor. The virtual destructor should
+// not be inlined, nor should we have to export TAO_Lockable from the
+// DSO/DLL. *sigh*
+class TAO_Trading_Serv_Export TAO_Lockable
+#else
class TAO_Lockable
+#endif /* __BORLANDC__ < 0x572 */
{
public:
virtual ~TAO_Lockable (void);