[7297] Fixed profession spells sorting in trainer spell list at client.
[getmangos.git] / dep / ACE_wrappers / ace / config-all.h
blob2a57a7ee3f3a162e68364cfc5b0e9b74aef7f9a8
1 // -*- C++ -*-
3 //==========================================================================
4 /**
5 * @file config-all.h
7 * $Id: config-all.h 81661 2008-05-09 12:05:34Z johnnyw $
9 * @author (Originally in OS.h)Doug Schmidt <schmidt@cs.wustl.edu>
10 * @author Jesper S. M|ller<stophph@diku.dk>
11 * @author and a cast of thousands...
13 //==========================================================================
15 #ifndef ACE_CONFIG_ALL_H
16 #define ACE_CONFIG_ALL_H
18 #include /**/ "ace/pre.h"
20 #include "ace/config-lite.h"
22 #if !defined (ACE_LACKS_PRAGMA_ONCE)
23 # pragma once
24 #endif /* ACE_LACKS_PRAGMA_ONCE */
26 // This is used to indicate that a platform doesn't support a
27 // particular feature.
28 #if defined ACE_HAS_VERBOSE_NOTSUP
29 // Print a console message with the file and line number of the
30 // unsupported function.
31 # include "ace/OS_NS_stdio.h"
32 # define ACE_NOTSUP_RETURN(FAILVALUE) do { errno = ENOTSUP; ACE_OS::fprintf (stderr, ACE_TEXT ("ACE_NOTSUP: %s, line %d\n"), __FILE__, __LINE__); return FAILVALUE; } while (0)
33 # define ACE_NOTSUP do { errno = ENOTSUP; ACE_OS::fprintf (stderr, ACE_TEXT ("ACE_NOTSUP: %s, line %d\n"), __FILE__, __LINE__); return; } while (0)
34 #else /* ! ACE_HAS_VERBOSE_NOTSUP */
35 # define ACE_NOTSUP_RETURN(FAILVALUE) do { errno = ENOTSUP ; return FAILVALUE; } while (0)
36 # define ACE_NOTSUP do { errno = ENOTSUP; return; } while (0)
37 #endif /* ! ACE_HAS_VERBOSE_NOTSUP */
39 // ----------------------------------------------------------------
41 # define ACE_TRACE_IMPL(X) ACE_Trace ____ (ACE_TEXT (X), __LINE__, ACE_TEXT (__FILE__))
43 // By default tracing is turned off.
44 #if !defined (ACE_NTRACE)
45 # define ACE_NTRACE 1
46 #endif /* ACE_NTRACE */
48 #if (ACE_NTRACE == 1)
49 # define ACE_TRACE(X)
50 #else
51 # if !defined (ACE_HAS_TRACE)
52 # define ACE_HAS_TRACE
53 # endif /* ACE_HAS_TRACE */
54 # define ACE_TRACE(X) ACE_TRACE_IMPL(X)
55 # include "ace/Trace.h"
56 #endif /* ACE_NTRACE */
58 // By default we perform no tracing on the OS layer, otherwise the
59 // coupling between the OS layer and Log_Msg is too tight. But the
60 // application can override the default if they wish to.
61 #if !defined (ACE_OS_NTRACE)
62 # define ACE_OS_NTRACE 1
63 #endif /* ACE_OS_NTRACE */
65 #if (ACE_OS_NTRACE == 1)
66 # define ACE_OS_TRACE(X)
67 #else
68 # if !defined (ACE_HAS_TRACE)
69 # define ACE_HAS_TRACE
70 # endif /* ACE_HAS_TRACE */
71 # define ACE_OS_TRACE(X) ACE_TRACE_IMPL(X)
72 # include "ace/Trace.h"
73 #endif /* ACE_OS_NTRACE */
75 #if !defined (ACE_HAS_MONITOR_FRAMEWORK)
76 # define ACE_HAS_MONITOR_FRAMEWORK 1
77 #endif
79 #if !defined (ACE_HAS_MONITOR_POINTS)
80 # define ACE_HAS_MONITOR_POINTS 0
81 #endif
83 // These includes are here to avoid circular dependencies.
84 // Keep this at the bottom of the file. It contains the main macros.
85 #include "ace/OS_main.h"
87 #include /**/ "ace/post.h"
89 #endif /* ACE_CONFIG_ALL_H */