From 2bd0e228f29eeadcd6fd2e4c21c961e88dad4aae Mon Sep 17 00:00:00 2001 From: olli Date: Sat, 18 Dec 2004 08:01:42 +0000 Subject: ChangeLogTag: Sat Dec 18 09:56:04 2004 Olli Savia --- TAO/tao/Exception.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'TAO/tao/Exception.h') diff --git a/TAO/tao/Exception.h b/TAO/tao/Exception.h index 9a6cff3dd5c..5c3ac5d7a07 100644 --- a/TAO/tao/Exception.h +++ b/TAO/tao/Exception.h @@ -44,15 +44,9 @@ class ACE_Allocator; class TAO_OutputCDR; class TAO_InputCDR; -#if defined (__Lynx__) - -// LynxOS uses macro THREAD_CANCELLED internally, so it must -// be undefined to avoid compilation errors -#if defined (THREAD_CANCELLED) +#if defined (ACE_HAS_PREDEFINED_THREAD_CANCELLED_MACRO) #undef THREAD_CANCELLED -#endif /* THREAD_CANCELLED */ - -#endif /*__Lynx__ */ +#endif /* ACE_HAS_PREDEFINED_THREAD_CANCELLED_MACRO */ // This is already done in orbconf.h. But this file is totally // decoupled from its contents that we have to do this here. Including -- cgit v1.2.1