diff options
Diffstat (limited to 'dep/ACE_wrappers/ace/config-all.h')
-rw-r--r-- | dep/ACE_wrappers/ace/config-all.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dep/ACE_wrappers/ace/config-all.h b/dep/ACE_wrappers/ace/config-all.h index 781a5c9fba1..927bd14919b 100644 --- a/dep/ACE_wrappers/ace/config-all.h +++ b/dep/ACE_wrappers/ace/config-all.h @@ -1,4 +1,5 @@ // -*- C++ -*- + //========================================================================== /** * @file config-all.h @@ -10,13 +11,18 @@ * @author and a cast of thousands... */ //========================================================================== + #ifndef ACE_CONFIG_ALL_H #define ACE_CONFIG_ALL_H + #include /**/ "ace/pre.h" + #include "ace/config-lite.h" + #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ + // This is used to indicate that a platform doesn't support a // particular feature. #if defined ACE_HAS_VERBOSE_NOTSUP @@ -29,12 +35,16 @@ # define ACE_NOTSUP_RETURN(FAILVALUE) do { errno = ENOTSUP ; return FAILVALUE; } while (0) # define ACE_NOTSUP do { errno = ENOTSUP; return; } while (0) #endif /* ! ACE_HAS_VERBOSE_NOTSUP */ + // ---------------------------------------------------------------- + # define ACE_TRACE_IMPL(X) ACE_Trace ____ (ACE_TEXT (X), __LINE__, ACE_TEXT (__FILE__)) + // By default tracing is turned off. #if !defined (ACE_NTRACE) # define ACE_NTRACE 1 #endif /* ACE_NTRACE */ + #if (ACE_NTRACE == 1) # define ACE_TRACE(X) #else @@ -44,12 +54,14 @@ # define ACE_TRACE(X) ACE_TRACE_IMPL(X) # include "ace/Trace.h" #endif /* ACE_NTRACE */ + // By default we perform no tracing on the OS layer, otherwise the // coupling between the OS layer and Log_Msg is too tight. But the // application can override the default if they wish to. #if !defined (ACE_OS_NTRACE) # define ACE_OS_NTRACE 1 #endif /* ACE_OS_NTRACE */ + #if (ACE_OS_NTRACE == 1) # define ACE_OS_TRACE(X) #else @@ -59,15 +71,20 @@ # define ACE_OS_TRACE(X) ACE_TRACE_IMPL(X) # include "ace/Trace.h" #endif /* ACE_OS_NTRACE */ + #if !defined (ACE_HAS_MONITOR_FRAMEWORK) # define ACE_HAS_MONITOR_FRAMEWORK 1 #endif + #if !defined (ACE_HAS_MONITOR_POINTS) # define ACE_HAS_MONITOR_POINTS 0 #endif + // These includes are here to avoid circular dependencies. // Keep this at the bottom of the file. It contains the main macros. #include "ace/OS_main.h" + #include /**/ "ace/post.h" + #endif /* ACE_CONFIG_ALL_H */ |