mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-02 23:26:37 +01:00
20 lines
416 B
C++
20 lines
416 B
C++
// -*- C++ -*-
|
|
//
|
|
// $Id: Message_Queue_Vx.inl 80826 2008-03-04 14:51:23Z wotte $
|
|
|
|
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
|
|
|
|
#if defined (ACE_VXWORKS)
|
|
// Specialization to use native VxWorks Message Queues.
|
|
|
|
ACE_INLINE MSG_Q_ID
|
|
ACE_Message_Queue_Vx::msgq (void)
|
|
{
|
|
// Hijack the tail_ field to store the MSG_Q_ID.
|
|
return reinterpret_cast<MSG_Q_ID> (tail_);
|
|
}
|
|
|
|
#endif /* ACE_VXWORKS */
|
|
|
|
ACE_END_VERSIONED_NAMESPACE_DECL
|