Changes to attempt to silence bcc64x
[ACE_TAO.git] / ACE / ace / OS_NS_poll.h
blob75291a0e155840d2b9e31acc50ea7fe247b494d7
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file OS_NS_poll.h
7 * @author Douglas C. Schmidt <d.schmidt@vanderbilt.edu>
8 * @author Jesper S. M|ller<stophph@diku.dk>
9 * @author and a cast of thousands...
11 //=============================================================================
13 #ifndef ACE_OS_NS_POLL_H
14 # define ACE_OS_NS_POLL_H
16 # include /**/ "ace/pre.h"
18 # include "ace/config-all.h"
20 # if !defined (ACE_LACKS_PRAGMA_ONCE)
21 # pragma once
22 # endif /* ACE_LACKS_PRAGMA_ONCE */
24 #include "ace/os_include/os_poll.h"
25 #include /**/ "ace/ACE_export.h"
27 #if defined (ACE_EXPORT_MACRO)
28 # undef ACE_EXPORT_MACRO
29 #endif
30 #define ACE_EXPORT_MACRO ACE_Export
32 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
34 class ACE_Time_Value;
36 namespace ACE_OS
38 ACE_NAMESPACE_INLINE_FUNCTION
39 int poll (struct pollfd *pollfds,
40 unsigned long len,
41 const ACE_Time_Value *tv = 0);
43 ACE_NAMESPACE_INLINE_FUNCTION
44 int poll (struct pollfd *pollfds,
45 unsigned long len,
46 const ACE_Time_Value &tv);
47 } /* namespace ACE_OS */
49 ACE_END_VERSIONED_NAMESPACE_DECL
51 # if defined (ACE_HAS_INLINED_OSCALLS)
52 # if defined (ACE_INLINE)
53 # undef ACE_INLINE
54 # endif /* ACE_INLINE */
55 # define ACE_INLINE inline
56 # include "ace/OS_NS_poll.inl"
57 # endif /* ACE_HAS_INLINED_OSCALLS */
59 # include /**/ "ace/post.h"
60 #endif /* ACE_OS_NS_POLL_H */