summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_2084_Regression/tid_to_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Bug_2084_Regression/tid_to_int.h')
-rw-r--r--TAO/tests/Bug_2084_Regression/tid_to_int.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/TAO/tests/Bug_2084_Regression/tid_to_int.h b/TAO/tests/Bug_2084_Regression/tid_to_int.h
index 4031bfbf991..aec042a2aa3 100644
--- a/TAO/tests/Bug_2084_Regression/tid_to_int.h
+++ b/TAO/tests/Bug_2084_Regression/tid_to_int.h
@@ -28,11 +28,7 @@ namespace
{
// ACE_thread_t is a pointer. Cast to an intermediate integer
// type large enough to hold a pointer.
-#if defined (ACE_OPENVMS) && (!defined (__INITIAL_POINTER_SIZE) || (__INITIAL_POINTER_SIZE < 64))
- int const tmp = reinterpret_cast<int> (tid);
-#else
intptr_t const tmp = reinterpret_cast<intptr_t> (tid);
-#endif
// We assume sizeof(thread_id_type) >= sizeof(ace_thread_id_type).
return (thread_id_type) tmp;