diff options
Diffstat (limited to 'ace/config-all.h')
-rw-r--r-- | ace/config-all.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/ace/config-all.h b/ace/config-all.h index 165761fc0ef..2eb753b138f 100644 --- a/ace/config-all.h +++ b/ace/config-all.h @@ -38,8 +38,6 @@ // before the #include of time.h. # include "ace/os_include/os_stdarg.h" # endif /* ghs */ - -# include /**/ <vxWorks.h> # endif /* VXWORKS */ // This is used to indicate that a platform doesn't support a @@ -47,13 +45,9 @@ #if defined ACE_HAS_VERBOSE_NOTSUP // Print a console message with the file and line number of the // unsupported function. -# if defined (ACE_HAS_STANDARD_CPP_LIBRARY) && (ACE_HAS_STANDARD_CPP_LIBRARY != 0) -# include /**/ <cstdio> -# else -# include "ace/os_include/os_stdio.h" -# endif -# define ACE_NOTSUP_RETURN(FAILVALUE) do { errno = ENOTSUP; fprintf (stderr, ACE_LIB_TEXT ("ACE_NOTSUP: %s, line %d\n"), __FILE__, __LINE__); return FAILVALUE; } while (0) -# define ACE_NOTSUP do { errno = ENOTSUP; fprintf (stderr, ACE_LIB_TEXT ("ACE_NOTSUP: %s, line %d\n"), __FILE__, __LINE__); return; } while (0) +# include "ace/OS_NS_stdio.h" +# define ACE_NOTSUP_RETURN(FAILVALUE) do { errno = ENOTSUP; ACE_OS::fprintf (stderr, ACE_LIB_TEXT ("ACE_NOTSUP: %s, line %d\n"), __FILE__, __LINE__); return FAILVALUE; } while (0) +# define ACE_NOTSUP do { errno = ENOTSUP; ACE_OS::fprintf (stderr, ACE_LIB_TEXT ("ACE_NOTSUP: %s, line %d\n"), __FILE__, __LINE__); return; } while (0) #else /* ! ACE_HAS_VERBOSE_NOTSUP */ # define ACE_NOTSUP_RETURN(FAILVALUE) do { errno = ENOTSUP ; return FAILVALUE; } while (0) # define ACE_NOTSUP do { errno = ENOTSUP; return; } while (0) |