00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef ACE_CONFIG_ALL_H
00016 #define ACE_CONFIG_ALL_H
00017
00018 #include "ace/pre.h"
00019
00020 #include "ace/config-lite.h"
00021
00022 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00023 # pragma once
00024 #endif
00025
00026
00027
00028 #if defined ACE_HAS_VERBOSE_NOTSUP
00029
00030
00031 # include "ace/OS_NS_stdio.h"
00032 # 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)
00033 # define ACE_NOTSUP do { errno = ENOTSUP; ACE_OS::fprintf (stderr, ACE_TEXT ("ACE_NOTSUP: %s, line %d\n"), __FILE__, __LINE__); return; } while (0)
00034 #else
00035 # define ACE_NOTSUP_RETURN(FAILVALUE) do { errno = ENOTSUP ; return FAILVALUE; } while (0)
00036 # define ACE_NOTSUP do { errno = ENOTSUP; return; } while (0)
00037 #endif
00038
00039
00040
00041 # define ACE_TRACE_IMPL(X) ACE_Trace ____ (ACE_TEXT (X), __LINE__, ACE_TEXT (__FILE__))
00042
00043
00044 #if !defined (ACE_NTRACE)
00045 # define ACE_NTRACE 1
00046 #endif
00047
00048 #if (ACE_NTRACE == 1)
00049 # define ACE_TRACE(X)
00050 #else
00051 # if !defined (ACE_HAS_TRACE)
00052 # define ACE_HAS_TRACE
00053 # endif
00054 # define ACE_TRACE(X) ACE_TRACE_IMPL(X)
00055 # include "ace/Trace.h"
00056 #endif
00057
00058
00059
00060
00061 #if !defined (ACE_OS_NTRACE)
00062 # define ACE_OS_NTRACE 1
00063 #endif
00064
00065 #if (ACE_OS_NTRACE == 1)
00066 # define ACE_OS_TRACE(X)
00067 #else
00068 # if !defined (ACE_HAS_TRACE)
00069 # define ACE_HAS_TRACE
00070 # endif
00071 # define ACE_OS_TRACE(X) ACE_TRACE_IMPL(X)
00072 # include "ace/Trace.h"
00073 #endif
00074
00075
00076
00077 #include "ace/OS_main.h"
00078
00079 #include "ace/post.h"
00080
00081 #endif