[7297] Fixed profession spells sorting in trainer spell list at client.
[getmangos.git] / dep / ACE_wrappers / ace / OS_NS_sys_time.h
blob3d9aa2dd9ba3a5a622fcf8bfa928b01c4ca6edae
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file OS_NS_sys_time.h
7 * $Id: OS_NS_sys_time.h 80826 2008-03-04 14:51:23Z wotte $
9 * @author Douglas C. Schmidt <schmidt@cs.wustl.edu>
10 * @author Jesper S. M|ller<stophph@diku.dk>
11 * @author and a cast of thousands...
13 * Originally in OS.h.
15 //=============================================================================
17 #ifndef ACE_OS_NS_SYS_TIME_H
18 # define ACE_OS_NS_SYS_TIME_H
20 # include /**/ "ace/pre.h"
22 # include "ace/config-all.h"
24 # if !defined (ACE_LACKS_PRAGMA_ONCE)
25 # pragma once
26 # endif /* ACE_LACKS_PRAGMA_ONCE */
28 #include "ace/Time_Value.h"
29 #include /**/ "ace/ACE_export.h"
31 #if defined (ACE_EXPORT_MACRO)
32 # undef ACE_EXPORT_MACRO
33 #endif
34 #define ACE_EXPORT_MACRO ACE_Export
36 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
38 namespace ACE_OS
40 #if defined (ACE_WIN32) && defined (_WIN32_WCE)
41 // Something is a bit brain-damaged here and I'm not sure what... this code
42 // compiled before the OS reorg for ACE 5.4. Since then it hasn't - eVC
43 // complains that the operators that return ACE_Time_Value are C-linkage
44 // functions that can't return a C++ class. The only way I've found to
45 // defeat this is to wrap the whole class in extern "C++".
46 // - Steve Huston, 23-Aug-2004
47 extern "C++" {
48 #endif
50 ACE_NAMESPACE_INLINE_FUNCTION
51 ACE_Time_Value gettimeofday (void);
53 #if defined (ACE_WIN32) && defined (_WIN32_WCE)
55 #endif
56 } /* namespace ACE_OS */
58 ACE_END_VERSIONED_NAMESPACE_DECL
60 # if defined (ACE_HAS_INLINED_OSCALLS)
61 # if defined (ACE_INLINE)
62 # undef ACE_INLINE
63 # endif /* ACE_INLINE */
64 # define ACE_INLINE inline
65 # include "ace/OS_NS_sys_time.inl"
66 # endif /* ACE_HAS_INLINED_OSCALLS */
68 # include /**/ "ace/post.h"
69 #endif /* ACE_OS_NS_SYS_TIME_H */