summaryrefslogtreecommitdiff
path: root/TAO/tests/RTScheduling/Scheduling_Interceptor/test_client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/RTScheduling/Scheduling_Interceptor/test_client.cpp')
-rw-r--r--TAO/tests/RTScheduling/Scheduling_Interceptor/test_client.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/TAO/tests/RTScheduling/Scheduling_Interceptor/test_client.cpp b/TAO/tests/RTScheduling/Scheduling_Interceptor/test_client.cpp
index cc568b0965d..3c1752548a0 100644
--- a/TAO/tests/RTScheduling/Scheduling_Interceptor/test_client.cpp
+++ b/TAO/tests/RTScheduling/Scheduling_Interceptor/test_client.cpp
@@ -31,13 +31,9 @@ parse_args (int argc,
return 0;
}
-#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 */
int
main (int argc, char* argv [])