summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_2084_Regression/tid_to_int.h
diff options
context:
space:
mode:
authorErik Sohns <esohns@users.noreply.github.com>2023-01-22 17:38:34 +0100
committerGitHub <noreply@github.com>2023-01-22 17:38:34 +0100
commit9e18d338ec598e1a8da6d32a0fba5a20c76978f7 (patch)
tree045f42001bd4e15cf8285686798fe47acd2f2b60 /TAO/tests/Bug_2084_Regression/tid_to_int.h
parent8b6ad82dc91f728cea2c9e86a17e5969a3338fcc (diff)
parent8ab31e3e5bb8c09a9c326a54545f4cb475345a78 (diff)
downloadATCD-9e18d338ec598e1a8da6d32a0fba5a20c76978f7.tar.gz
Merge branch 'master' into message_queue_ex_get_queue
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;