Also use Objects as part of an operation but as a result don't generate Any operation...
[ACE_TAO.git] / ACE / ace / config-all.h
blob06d8eeb2b5a3c3ff94231e70db5d06b6faa7476d
1 // -*- C++ -*-
3 //==========================================================================
4 /**
5 * @file config-all.h
7 * @author (Originally in OS.h)Doug 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_CONFIG_ALL_H
14 #define ACE_CONFIG_ALL_H
16 #include /**/ "ace/pre.h"
18 #include /**/ "ace/config-lite.h"
20 #if !defined (ACE_LACKS_PRAGMA_ONCE)
21 # pragma once
22 #endif /* ACE_LACKS_PRAGMA_ONCE */
24 // This is used to indicate that a platform doesn't support a
25 // particular feature.
26 #if defined ACE_HAS_VERBOSE_NOTSUP
27 // Print a console message with the file and line number of the
28 // unsupported function.
29 # include "ace/OS_NS_stdio.h"
30 # 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)
31 # define ACE_NOTSUP do { errno = ENOTSUP; ACE_OS::fprintf (stderr, ACE_TEXT ("ACE_NOTSUP: %s, line %d\n"), __FILE__, __LINE__); return; } while (0)
32 #else /* ! ACE_HAS_VERBOSE_NOTSUP */
33 # define ACE_NOTSUP_RETURN(FAILVALUE) do { errno = ENOTSUP ; return FAILVALUE; } while (0)
34 # define ACE_NOTSUP do { errno = ENOTSUP; return; } while (0)
35 #endif /* ! ACE_HAS_VERBOSE_NOTSUP */
37 // ----------------------------------------------------------------
39 # define ACE_TRACE_IMPL(X) ACE_Trace ____ (ACE_TEXT (X), __LINE__, ACE_TEXT (__FILE__))
41 // By default tracing is turned off.
42 #if !defined (ACE_NTRACE)
43 # define ACE_NTRACE 1
44 #endif /* ACE_NTRACE */
46 #if (ACE_NTRACE == 1)
47 # define ACE_TRACE(X)
48 #else
49 # if !defined (ACE_HAS_TRACE)
50 # define ACE_HAS_TRACE
51 # endif /* ACE_HAS_TRACE */
52 # define ACE_TRACE(X) ACE_TRACE_IMPL(X)
53 # include "ace/Trace.h"
54 #endif /* ACE_NTRACE */
56 // By default we perform no tracing on the OS layer, otherwise the
57 // coupling between the OS layer and Log_Msg is too tight. But the
58 // application can override the default if they wish to.
59 #if !defined (ACE_OS_NTRACE)
60 # define ACE_OS_NTRACE 1
61 #endif /* ACE_OS_NTRACE */
63 #if (ACE_OS_NTRACE == 1)
64 # define ACE_OS_TRACE(X)
65 #else
66 # if !defined (ACE_HAS_TRACE)
67 # define ACE_HAS_TRACE
68 # endif /* ACE_HAS_TRACE */
69 # define ACE_OS_TRACE(X) ACE_TRACE_IMPL(X)
70 # include "ace/Trace.h"
71 #endif /* ACE_OS_NTRACE */
73 #if !defined (ACE_HAS_MONITOR_FRAMEWORK)
74 # define ACE_HAS_MONITOR_FRAMEWORK 1
75 #endif
77 #if !defined (ACE_HAS_SENDFILE)
78 # define ACE_HAS_SENDFILE 0
79 #endif
81 #if !defined (ACE_HAS_MONITOR_POINTS)
82 # define ACE_HAS_MONITOR_POINTS 0
83 #endif
85 // These includes are here to avoid circular dependencies.
86 // Keep this at the bottom of the file. It contains the main macros.
87 #include "ace/OS_main.h"
89 #include /**/ "ace/post.h"
91 #endif /* ACE_CONFIG_ALL_H */